Closed magthe closed 4 years ago
It seems like you are not actually switching back from text mode. After step 2, try C-h k \
and tell me what emacs says \
is bound to.
It is bound to the same function, evil-magit-toggle-text-mode
.
Maybe I should add that p
gives the behaviour above, but that many other magit keybindings do work, and that I can push by doing
v
, then press p
I just asked a workmate to try the same sequence. He's using evil-magit but not via Spacemacs, and he doesn't see the behaviour I describe above. That makes me think that maybe this is a Spacemacs thing, so I'll create a ticket on the project instead and close this one.
Maybe I should add that p gives the behaviour above, but that many other magit keybindings do work, and that I can push by doing switch to visual mode using v, then press p
Hm, that's odd.
I just asked a workmate to try the same sequence. He's using evil-magit but not via Spacemacs, and he doesn't see the behaviour I describe above. That makes me think that maybe this is a Spacemacs thing, so I'll create a ticket on the project instead and close this one.
It's possible spacemacs is interfering here, but I'm not sure how.
I see this behaviour in magit. If I
\
to switch to text-mode\
to switch out of text-modep
to pushthen I see the message
Buffer is read-only: #<buffer magit: proj>
.I'm using Spacemacs, but I believe this is a binding that comes from evil-magit itself: