Hacker News new | ask | show | jobs
by messe 3186 days ago
I have `jk` mapped to ESC in spacemacs, zsh and anything else I can set up to use vi keybindings. `jk` is essentially a no-op in vi, so rebinding it doesn't cause any issues while carrying the advantage that my fingers never have to leave the home row.
1 comments

Out of curiosity, how do you type "Dijkstra" in that case?
I've never typed Dijkstra in Vim, but if I had to, there are two reasonable options:

1. Wait a half-second after typing the "j". That causes the mapping to time out and you can type the "k" without a problem.

2. Type something like Dijj<del>kstra.

Copy and paste from another window? If your use of the word "Dijkstra" is frequent enough for this method to bother you, there must be other mappings that would work.
I have a similar key binding set up. One option is to press a key that doesn't do anything in between.
I loved his solution until this. This is a deal breaker. Time to go back to the abbacus. ;)