On Tue, Mar 02, 2021 at 02:14:29AM -0800, hongy...@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.
Take a look at the keyboard layout picture at
https://en.wikipedia.org/wiki/ADM-3A#Hardware
That's the machine on which the Vi editor was created.
(Disappointingly there's no actual photo on Wikipedia, but you can find
those on Google Images.)
On today's machines (using QWERTY layouts) I find it easiest to remember
that h is all the way on the left, j extends down below the baseline, k
extends up beyond the x-height of small letters, and l is all the way on
the right.
Marius Gedminas
--
There is nothing more practical than a good theory.
-- James Clerk Maxwell
--
--
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/20210302103101.rvsz3hfj5p2awff2%40blynas.
No comments:
Post a Comment