mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tools/magit: fix leader key in magit-blame
This commit is contained in:
@ -41,8 +41,5 @@
|
|||||||
:after magit
|
:after magit
|
||||||
:config
|
:config
|
||||||
(setq evil-magit-state 'normal)
|
(setq evil-magit-state 'normal)
|
||||||
|
(map! :map (magit-mode-map magit-blame-read-only-mode-map)
|
||||||
;; Switch to emacs state only while in `magit-blame-mode', then back when
|
doom-leader-key nil))
|
||||||
;; its done (since it's a minor-mode).
|
|
||||||
(add-hook! 'magit-blame-mode-hook
|
|
||||||
(evil-local-mode (if magit-blame-mode -1 +1))))
|
|
||||||
|
Reference in New Issue
Block a user