commit e63c93c3e050337eab6e7365ae60fb8a5858ed73
parent 25a09b385d29d3c8f4435a4056a95604d0a53cee
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Tue, 24 Jun 2014 13:27:49 +0200
vim-like scrolling
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
@@ -112,6 +112,11 @@
"i" (lambda () (interactive)(find-file "~/.emacs.d/init.el"))
"t" (lambda () (interactive)(find-file "~/owncloud/todo.org")))
+;; equivalent to vim scrolloff
+(setq scroll-margin 3)
+;(setq scroll-step 1)
+(setq scroll-conservatively 10000)
+
;; install with MELPA:
;; M-x package-refresh-contents
;; M-x package-install RET evil-tabs