News for hackers. Stuff that matters.
Re:How I'm able to take notes in mathematics lectures using ... by foo101 on Thursday March 21, 2019 @06:56AM (#19450850)
I tried the idea of using `jk` in the past and found that it surely cannot be a perfect replacement of Escape.

Say I perform these mappings:

  :noremap jk <Esc>
  :inoremap jk <Esc>
Now granted, pressing `jk` in insert mode escapes me to normal mode. But many use cases that work with the Escape key do not work with `jk` anymore.

For example, try:

  :ab hn Hacker News
Now type `hn` in insert mode and press Escape, it would expand to `Hacker News` like it should. But then type `hn` in insert mode and press `jk`, it does not expand to `Hacker News`.

There are no comments on this comment yet.