[Emacs] Fix Magit keybinds
With a recent package update, whether by Magit’s or Evil Collection’s fault, the keybinds for `c` and `t` got replaced with evil movement up and down instead of respectively staging and tagging in Magit. This commit fixes this behavior.
This commit is contained in:
parent
5bd012e5b9
commit
59335cf663
@ -2597,6 +2597,13 @@ doing and what Git is doing! In short, I absolutely love it!
|
|||||||
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
|
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
|
||||||
:config
|
:config
|
||||||
(setq magit-clone-default-directory "~/fromGIT/")
|
(setq magit-clone-default-directory "~/fromGIT/")
|
||||||
|
(with-eval-after-load 'evil-collection
|
||||||
|
(phundrak/evil
|
||||||
|
:packages '(evil-collection magit)
|
||||||
|
:keymaps '(magit-mode-map magit-log-mode-map magit-status-mode-map)
|
||||||
|
:states 'normal
|
||||||
|
"t" #'magit-tag
|
||||||
|
"s" #'magit-stage))
|
||||||
:general
|
:general
|
||||||
(:keymaps '(git-rebase-mode-map)
|
(:keymaps '(git-rebase-mode-map)
|
||||||
:packages 'magit
|
:packages 'magit
|
||||||
|
Loading…
Reference in New Issue
Block a user