diff-mode: allow quitting with 'q'

Seems to be standard for bindings for other modes
This commit is contained in:
Wade Berrier 2018-08-28 17:03:00 -06:00 committed by James N
parent 44c37cd36b
commit 5f0123e48f
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ current file instead."
"gj" 'diff-hunk-next
"gk" 'diff-hunk-prev
"q" 'quit-window
"\\" 'read-only-mode) ; magit has "\"
(evil-collection-define-key 'motion 'diff-mode-map