Re:Getting started with vim
by astrobe_ on Sunday February 19, 2017 @04:25PM
(#13682062)
One trick is to postpone the correction of a typo for instance until you're done with your current editing. And there's also plenty of ways to switch between modes: i,I, o, O, a, A, and ^o and ^d (insert mode) which are occasionally handy.
Also people often duplicate Esc to the "jk" combination. I personally use ^L instead, but for no particular reason.
On AZERTY keyboards, the nastiest shortcut for me is ^[ ("jump to tag", which is ctrl-AltGr-5). I simply remapped it to F2.
A second one is ` (backtick, altGr-7), which I remapped to ' (tick). I did not move tick somewhere else, it wasn't useful enough to me to bother doing it.
Also people often duplicate Esc to the "jk" combination. I personally use ^L instead, but for no particular reason.
On AZERTY keyboards, the nastiest shortcut for me is ^[ ("jump to tag", which is ctrl-AltGr-5). I simply remapped it to F2. A second one is ` (backtick, altGr-7), which I remapped to ' (tick). I did not move tick somewhere else, it wasn't useful enough to me to bother doing it.
See :map and :noremap for how to do these things.