evil-magit-use-z-for-folds = t

And remove old meta key fold commands. Stashing commands are available
through Z, instead.
This commit is contained in:
Henrik Lissner 2018-06-17 14:50:34 +02:00
parent 36992037d1
commit 233a1f6469
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -66,8 +66,14 @@ load everything.")
(def-package! evil-magit
:when (featurep! :feature evil +everywhere)
:after magit
:init (setq evil-magit-state 'normal)
:init (setq evil-magit-state 'normal
evil-magit-use-z-for-folds t)
:config
(define-key! magit-mode-map
(kbd "M-1") nil
(kbd "M-2") nil
(kbd "M-3") nil
(kbd "M-4") nil)
(after! git-rebase
(dolist (key '(("M-k" . "gk") ("M-j" . "gj")))
(setcar (assoc (car key) evil-magit-rebase-commands-w-descriptions)