Fix blacklisted evil-collection-magit keybinds
Now that evil-magit's been moved to evil-collection, its keybinds are subject to our blacklist. There must be a better way to exclude evil-collection modules from the blacklist.
This commit is contained in:
parent
77924c8feb
commit
2828281af7
1 changed files with 13 additions and 0 deletions
|
@ -204,6 +204,19 @@ ensure it is built when we actually use Forge."
|
|||
"gi" #'forge-jump-to-issues
|
||||
"gm" #'forge-jump-to-pullreqs)
|
||||
|
||||
;; Fix these keybinds because they are blacklisted
|
||||
;; REVIEW There must be a better way to exclude particular evil-collection
|
||||
;; modules from the blacklist.
|
||||
(map! (:map magit-mode-map
|
||||
:nv "]" #'magit-section-forward-sibling
|
||||
:nv "[" #'magit-section-backward-sibling
|
||||
:nv "gr" #'magit-refresh
|
||||
:nv "gR" #'magit-refresh-all)
|
||||
(:map magit-status-mode-map
|
||||
:nv "gz" #'magit-refresh)
|
||||
(:map magit-diff-mode-map
|
||||
:nv "gd" #'magit-jump-to-diffstat-or-diff)))
|
||||
|
||||
;; A more intuitive behavior for TAB in magit buffers:
|
||||
(define-key! 'normal
|
||||
(magit-status-mode-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue