diff-mode: Fix initial state
This commit is contained in:
parent
6387312691
commit
d3106127b2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue