Add better key bindings for fast scrolling

This commit is contained in:
syl20bnr 2014-06-12 11:56:41 -04:00
parent 4fe3c211b6
commit b589328e61

View file

@ -44,6 +44,11 @@
(define-key helm-map (kbd "C-k") 'helm-previous-line)
(define-key helm-map (kbd "C-h") 'helm-next-source)
(define-key helm-map (kbd "C-l") 'helm-previous-source)))
;; quick navigation -----------------------------------------------------------
(define-key evil-normal-state-map (kbd "L")
(lambda () (interactive) (evil-window-bottom) (evil-scroll-line-to-center nil)))
(define-key evil-normal-state-map (kbd "H")
(lambda () (interactive) (evil-window-top) (evil-scroll-line-to-center nil)))
;; evil-leader shortcuts ======================================================