this post was submitted on 12 Nov 2023
5 points (69.2% liked)

Neovim

2161 readers
3 users here now

founded 1 year ago
MODERATORS
 

Hello, I was trying to configure i3 to match the functionality of vim (i3 uses jkl; because h is mapped to horizontal split), but when I was doing it I was wondering what the reason is behind every vim or vim-like editor using hjkl. It's rather inefficient to have to move your index finger to the h key every time you want to move left. I know that the creator of vi had his hjkl keys mapped to arrow keys, but why hasn't this changed. Is it a historical thing, or is there an actual logical reason.

you are viewing a single comment's thread
view the rest of the comments
[–] technom@programming.dev 1 points 1 year ago (1 children)

That would be a bad design, IMO. The index finger has 2 keys to manage, of which one needs its lateral extension. Though the pinky is weaker, the semicolon is in its resting position.

The actual answer though, is Bill Joy's keyboard. Another commenter has explained it.

[–] xigoi@lemmy.sdf.org 1 points 1 year ago* (last edited 1 year ago) (1 children)

Do you also have a problem with WASD controls for games, since the middle finger controls two keys and one requires extension? Or even with actual arrow keys?

[–] technom@programming.dev 1 points 1 year ago

Gamers and typists/coders are completely different species. Besides, WASD keys don't use lateral extension (assuming gamers use touch typing at all). Have you checked out any KB layout communities?