Question for Vim users: how do you get used to hitting Esc very often? I know some switch Cap with Esc but still clunky.
Vim – Minimal Setup Explained
111–114 of 114 posts
Re: Vim – Minimal Setup Explained
#112Earlier quoted context omitted.
I sort of agree. When I was first getting into Vim, reading a couple of well documented vimrcs really helped me out.
I also agree in theory, but Ben McCormick's ~/.vimrc is tiny and is easy to understand for newbies, so I'm OK with it. But yes, adopting the rule that you should never put anything in your ~/.vimrc that you don't understand from building it up over time and usage is a good one.
As for Ben McCormick's vimrc…
- line 18 is useless and its comment is misleading
- line 30 is a matter of taste so it has nothing to do in that context
- the comment for line 33 is wrong and shows how much the author cares about "new vim users" and how much he knows about the subject
Building one's vimrc from scratch is an integral part of the learning so shortcuts are to be avoided.
Re: Vim – Minimal Setup Explained
#113Earlier quoted context omitted.
The easiest are F and J, the home keys where your index fingers rest. The more you have to "reach away", the harder it is to always correctly reset your hand.
well, we can’t really have F be a special key to return to normal mode
Re: Vim – Minimal Setup Explained
#114Earlier quoted context omitted.
It's because your computer can't tell the difference. c-[ and ESC send the same key-code. Same with c-i and tab. What you can do to get around this is to remap one of them to something like f20 using Karabiner, then map f20 to what you like in vim.
Thanks. Not sure if Karabiner is available for Linux, but I found https://stackoverflow.com/questions/41364833/karabiner-for-l... which might help me.