Re:Interactive Vim tutorial
by kdoherty on Wednesday October 04, 2017 @01:15PM
(#15402086)
I had a really hard time getting into Vim until I found out everyone I knew who was using it had mapped something else to escape. Once I did the same, it was much easier to get started.
[ Parent
| on HN ]
Re:Interactive Vim tutorial
by protomikron on Wednesday October 04, 2017 @02:09PM
(#15402737)
For me it was the same. Using ESC is really ergonomically awkward for me. There are also people using Ctrl-C (which works by default) - but I prefer the 'jj' or similar method.
It's also useful to use Bash in vim-mode and also remap the esc-key, e.g.
set editing-mode vi
set keymap vi
$if mode=vi
set keymap vi-insert
"jj": vi-movement-mode
$endif
Something like this - you can then search Bash history via '/', etc.