syl20bnr/evil-escape

binding `Alt-s` and make it work everywhere

chanshing opened this issue · 1 comments

I have troubles making Alt-s work everywhere. I am using spacemacs. The configuration I used is (global-set-key (kbd "M-s") 'evil-escape). It works fine when editing text, for example to exit insert mode, but it doesn't work to cancel things like Ctrl-x/SPC. Is there a way to make it work? Thanks.

As evil-escape is working under the hood I don't think it is possible. It required to know we are in the middle of a key sequence command. If anyone has ideas to resolve this PR is very welcome :-)