fix use-z-for-folds also in magit-mode-map
Keybinding for magit-mode-map has also changed, Z is now magit-worktree instead of magit-stash. Remap it to magit-stash. Magit-worktree still has its old mapping to %.
This commit is contained in:
parent
53a76e15df
commit
940dfe91aa
|
@ -372,7 +372,8 @@ When this option is enabled, the stash popup is available on \"Z\"."
|
||||||
(,states magit-mode-map ,(kbd "<escape>") evil-collection-magit-maybe-deactivate-mark)))
|
(,states magit-mode-map ,(kbd "<escape>") evil-collection-magit-maybe-deactivate-mark)))
|
||||||
|
|
||||||
(when evil-collection-magit-use-z-for-folds
|
(when evil-collection-magit-use-z-for-folds
|
||||||
`((,states magit-mode-map "z")
|
`((,states magit-mode-map "Z" magit-stash)
|
||||||
|
(,states magit-mode-map "z")
|
||||||
(,states magit-mode-map "z1" magit-section-show-level-1-all)
|
(,states magit-mode-map "z1" magit-section-show-level-1-all)
|
||||||
(,states magit-mode-map "z2" magit-section-show-level-2-all)
|
(,states magit-mode-map "z2" magit-section-show-level-2-all)
|
||||||
(,states magit-mode-map "z3" magit-section-show-level-3-all)
|
(,states magit-mode-map "z3" magit-section-show-level-3-all)
|
||||||
|
|
Loading…
Reference in New Issue