Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Looking at the heat map, what does surprise me is how he never uses Escape or ^[. How does he managed to move out of Insert mode? My [ key is starting to wear out due to such heavy use..


> Looking at the heat map, what does surprise me is how he never uses Escape or ^[. How does he managed to move out of Insert mode?

His 3rd most used command is jj. This is popular among some vim users to be remapped as Esc in insert mode (:inoremap jj <Esc>).

I do not personally use this but when writing this comment, I quickly tested it out and it actually feels quite comfortable.

I re-map my caps lock as Escape. It works suprisingly well even outside of Vim.


I don't use vim, but from the parsing example he gives in the post, I'm guessing he uses C-c:

    `Mihere's some text^Cyyp$bimore ^C0~A.^C:w^M:q
[…]

> The lexer correctly determined that I started in normal mode by navigating to a specific buffer using the `M mark, then typed here's some text in insert mode, then[…]


Wow. I never knew about that one.


I use ctrl+c. It's easy to hit than esc, and it's built in, so it always works, even on servers i haven't set my config for, etc.


I don't know about him but I have 'kj' mapped to <Esc>. I highly recommend it. (or any variation around it)


He may have it set up the way I do: if I tap Ctrl rather than holding it, it sends Escape. If that's the case, his heatmap might be lumping Escape and Ctrl together.


Remapping?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: