Skip to content

Commit

Permalink
Unbreak diff-mode
Browse files Browse the repository at this point in the history
diff-mode is for *editing* diffs. Defaulting to evilified state and binding j/k
breaks this.

You can still use TAB/S-TAB to navigate through hunks.
  • Loading branch information
Stebalien authored and TheBB committed May 19, 2017
1 parent bba0783 commit 58d521a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions layers/+source-control/version-control/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@

(defun version-control/init-diff-mode ()
(use-package diff-mode
:defer t
:config
(evilified-state-evilify diff-mode diff-mode-map
"j" 'diff-hunk-next
"k" 'diff-hunk-prev)))
:defer t))

(defun version-control/init-diff-hl ()
(use-package diff-hl
Expand Down

0 comments on commit 58d521a

Please sign in to comment.