很远原因来自历史

I was reading about vim the other day and found out why it used hjkl keys as arrow keys. When Bill Joycreated the vi text editor he used the ADM-3A terminal, which had the arrows on hjkl keys. Naturally he reused the same keys and the rest is history!

Here is how the hjkl keys looked:

linux  vi hjkl由来-LMLPHP

And here is the whole terminal that vi was created on:

linux  vi hjkl由来-LMLPHP

Since vim is derived from vi, it uses the same hjkl keys.

And while we're at it, notice where the ESC key is positioned:

linux  vi hjkl由来-LMLPHP

05-11 09:37
查看更多