3 ms·
vi, 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-u
by tverlinden 14y ago
vi, 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 14y 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 14y 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.