emacs-evil / evil-magit

Black magic or evil keys for magit
https://github.com/justbur/evil-magit
GNU General Public License v3.0
272 stars 16 forks source link

magit-blame somehow nullifies evil-state #44

Closed amosbird closed 6 years ago

amosbird commented 6 years ago

after entering magit-blame state, (evil-state-property evil-state :name) returns nil. All evil bindings vanish. I've tried

(add-hook 'magit-blame-mode-hook #'evil-normal-state)
(add-hook 'magit-blame-read-only-mode-hook #'evil-normal-state)

and

(evil-set-initial-state 'magit-blame-mode 'normal)

neither works

justbur commented 6 years ago

First, magit-blame-mode is a minor mode, not a state. If you want to know the current evil state you just need to do C-h v evil-state RET.

Second, I can't reproduce this. I don't have any issues with the state changing after M-x magit-blame. I'll need more information.

amosbird commented 6 years ago

Yeah, it's not reproducible in emacs -Q.