Merge pull request #927 from tmccombs/magit-log-key

Fix magit key bindings.
This commit is contained in:
Bozhidar Batsov 2015-10-29 16:22:02 +02:00
commit cbe988da7a

View file

@ -113,12 +113,12 @@
(evil-add-hjkl-bindings magit-log-mode-map 'emacs) (evil-add-hjkl-bindings magit-log-mode-map 'emacs)
(evil-add-hjkl-bindings magit-commit-mode-map 'emacs) (evil-add-hjkl-bindings magit-commit-mode-map 'emacs)
(evil-add-hjkl-bindings magit-branch-manager-mode-map 'emacs (evil-add-hjkl-bindings magit-branch-manager-mode-map 'emacs
"K" 'magit-discard-item "K" 'magit-discard
"L" 'magit-key-mode-popup-logging) "L" 'magit-log-popup)
(evil-add-hjkl-bindings magit-status-mode-map 'emacs (evil-add-hjkl-bindings magit-status-mode-map 'emacs
"K" 'magit-discard-item "K" 'magit-discard
"l" 'magit-key-mode-popup-logging "l" 'magit-log-popup
"h" 'magit-toggle-diff-refine-hunk) "h" 'magit-diff-toggle-refine-hunk)
(setq evil-shift-width 2) (setq evil-shift-width 2)