diff-mode: Fix initial state

This commit is contained in:
Pierre Neidhardt 2017-11-28 10:16:53 +01:00
parent 6387312691
commit d3106127b2
1 changed files with 3 additions and 0 deletions

View File

@ -84,6 +84,9 @@ current file instead."
(defun evil-diff-mode-setup ()
"Set up `evil' bindings for `diff-mode'."
(evil-set-initial-state 'diff-mode 'motion)
(evil-define-key 'normal diff-mode-map
;; motion
(kbd "SPC") 'scroll-up-command