Re:Build muscle memory with your favorite editor
by farslan on Monday July 16, 2012 @12:42PM
(#4251412)
In vim you can do that by putting these lines into ~/.vimrc:
This will disable the arrow keys in normal and insert mode.
[ Parent
| on HN ]
Re:Build muscle memory with your favorite editor
by dickfickling on Monday July 16, 2012 @02:37PM
(#4251901)
I'm not trying to be difficult here, just genuinely curious: why disable the arrow keys? Is it simply the speed boost you get from using hjkl on the home row vs moving your hand to the arrows?
I use Colemak, so hjkl is very counter-intuitive for me, whereas the arrow keys make sense and aren't /that/ far away.
EDIT: http://news.ycombinator.com/item?id=3684515 has some good explanations. So does anyone have suggestions for non-QWERTY users? remap the keys that are in the HJKL space, leading to a cascade of keys moved around? Deal with the counter-intuitiveness of actually using HJKL?
Re:Build muscle memory with your favorite editor
by koenigdavidmj on Monday July 16, 2012 @03:39PM
(#4252163)
When I use Vim I barely even use hkjl except to fine-tune larger movement commands. I'll search for a symbol, or move word-by-word, or use f/F/t/T to move to a different character on a line, which gets me in the ballpark.
Even if hjkl is faster, I would be optimising for a case that just doesn't show up that much.
Re:Build muscle memory with your favorite editor
by RegEx on Monday July 16, 2012 @03:18PM
(#4252059)
Dvorak users can get away with using hjkl with the dvorak layout - it's not that counter-intuitive. Your Colemak layout, however, looks beyond salvageable in terms of using Colemak hjkl. I think a re-binding is in order there.