4 ms·
On a side note, several times when playing through the game I noticed that my motions weren't working, and traced it back to this: that for me, the home row is
by drostie 15y ago
On a side note, several times when playing through the game I noticed that my motions weren't working, and traced it back to this: that for me, the home row is jkl; and not hjkl. I don't know very much about vim -- is there a reason that you have to put your hand in the "wrong place" on the keyboard?
- tverlinden 15y agovi, which vim is based on, was programmed on the ADM-3A terminal, where the arrow keys are on the H, J, K, and L keys. http://www.catonmat.net/images/why-vim-uses-hjkl/lsi-adm-3a.jpg http://www.catonmat.net/images/why-vim-uses-hjkl/lsi-adm-3a.... http://www.catonmat.net/images/why-vim-uses-hjkl/adm-3a-hjkl-keyboard.jpg http://www.catonmat.net/images/why-vim-uses-hjkl/adm-3a-hjkl...
- drostie 15y agoAh. So it's a sort of Big Software Syndrome type thing -- "we could do it in a more intuitive way for new people, but it would break all of these existing programmers who learned it the less intuitive way, so let's leave it the original way" -- or am I missing something?
- alphabethos 15y agoThat may have something to do with it, but in practice, I find myself moving up/down (j/k) files far more often than I need to backtrack by a single character, and when I do, as often as not my pinky flies up to backspace (note this works by default only in Vim). It ends up being the most natural to keep your hands on the home row anyway.
- graywh 15y agoKeep your hands on JKL;
- drostie 15y agoThis is also an important point because it strikes me that as I play this game I am learning that as an antipattern. Perhaps I should just stick with not-vim.
- doronlinder 15y agoYour fingers should stay on JKL;. Going left involves lifting your index finger and moving it the the left, pressing H, and returning it back to J. When you're more proficient in VIM, you usually don't use h much, but ^ or 0 or T or F or b, lots to choose from :)