Tuesday, March 2, 2021

Re: vim-mnemonics for hjkl.

On Tue, 2 Mar 2021 02:14:29 -0800 (PST)
"hongy...@gmail.com" <hongyi.zhao@gmail.com> wrote:

> I noticed the following mnemonics for vim shortcut keys from
> <https://gist.github.com/iambrj/1e4de522ef5dcf13f530bb4b58cd9b32>:
>
> <quote>
>
> h: left
>
> j: down
>
> k: up
>
> l: right
>
> </quote>
>
> But I still can't figure out the correspondence between their literal
> representation and the operations of them. Any hints will be highly
> appreciated.

I think it's mostly a matter of ease. It's all done from touch typist
home position, with one hand. Back then there was no mouse, so they
chose the right hand, dominant on the majority of people, as that hand.
I'd guess if mice had existed universally when vi was created, the
cursor keys would have been done by the left hand so the user could
keep his or her right hand on the mouse.

I think the mnemonics were in the fingers, not in the brain.

SteveT

Steve Litt
Autumn 2020 featured book: Thriving in Tough Times
http://www.troubleshooters.com/thrive

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210302060750.79bf122b%40mydesk.domain.cxm.

No comments: