Scroll screen down or up, and highlight current line before or after scrolling.
the lines it scrolling is screen_height*0.618.
The easiest way to get started is to install the package via MELPA:
(package-install 'golden-ratio-scroll-screen)
Once installed, activate it by adding the following to your ~/.emacs
startup
file:
(require 'golden-ratio-scroll-screen)
(global-set-key [remap scroll-down-command] 'golden-ratio-scroll-screen-down)
(global-set-key [remap scroll-up-command] 'golden-ratio-scroll-screen-up)
Copyright (C) 2011~2015, 纪秀峰. Released under the terms of the GNU GPL v3+.