emacs-evil/evil-magit

evil-magit gets me stuck in insert mode on other buffers

deviantfero opened this issue · 2 comments

when entering a magit window while using evil-magit, everything works fine, but when I go back to editing I find myself stuck in insert mode, the key seems unresponsive, this only happens when I have the evil-magit package installed.

 ;; BEFORE
 j [evil-next-line]
 ESC [evil-force-normal-state]
 ESC [evil-force-normal-state]
 ESC [evil-force-normal-state]
 ESC [evil-force-normal-state]
 ESC [evil-force-normal-state]
 ESC [evil-force-normal-state]
 ESC [evil-force-normal-state]
 ESC [evil-force-normal-state]
 ESC [evil-force-normal-state]
 ESC [ 2 0 ~ [magit-status]
 q [magit-mode-bury-buffer]

 ;; AFTER (no single ESC detected)
 ESC ESC o [nil]
 ESC o o [facemenu-set-face]
 ESC ESC ESC [keyboard-escape-quit]
 ESC ESC k [nil]
 j [evil-next-line]
 k [evil-previous-line]
 o [evil-open-below]
 ESC ESC ESC [keyboard-escape-quit]
 ESC ESC ESC [keyboard-escape-quit]
 ESC ESC ESC [keyboard-escape-quit]
 ESC [ 1 1 ~ l [view-lossage]

view-lossage included for more clarity

could you advise?

I fixed it, seems that I had xterm-mouse-mode enabled globally, that messed with evil keybindings when enabled in magit in general, I'll close this issue

Thanks for the update