syl20bnr / evil-escape

Customizable key sequence to escape from insert state and everything else in Emacs.
GNU General Public License v3.0
225 stars 42 forks source link

Add support for multiple evil-escape-key-sequences #64

Open al3xandru opened 8 years ago

al3xandru commented 8 years ago

This is just a minor request: as a vimmer using jk as an escape sequence, it would be very helpful to allow defining multiple evil-escape-key-sequences that would ease the transition to the Spacemacs's default fd.

Changing the evil-escape-key-sequence was one of the first things I've learned and done after starting Spacemacs. As I leaned more into Spacemacs spc prefix combined with spc f s I felt tempted to give a 2nd chance to fd. As a newbie, going the key-chord route sounds a bit scary/too complicated (maybe because what I have read was not very conclusive)

_Note: originally reported https://github.com/syl20bnr/spacemacs/issues/5445 and with a workaround based on key-chord.

yzhuang commented 8 years ago

Another vote for this. My use case is that I tend to use both jk and kj for entering normal mode, so it would be nice if this feature is added.

syl20bnr commented 8 years ago

For jk and kj use case check the configuration variables, there is one to set the sequence as unordered.

yzhuang commented 8 years ago

That worked for me. Thanks!

elvis-sik commented 7 years ago

I would need this to bind both fd and FD (for when I am typing with caps on).