linux vi hjkl由来
很远原因来自历史
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:
And here is the whole terminal that vi was created on:
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: