用 hjkl 表示左下右上,以及 ~ 表示 home 的原因...

OSNews 上面看到:「Why vim uses the hjkl keys as arrow keys」,引用了「Here is why vim uses the hjkl keys as arrow keys」這篇文章,提到為什麼 vi 使用 hjkl 表示左下右上四個方向,以及用 ~ 表示 home directory 的原因。

首先是 Bill Joy 發明 vi 時所使用的 ADM-3A terminal 鍵盤的樣子:

再來是 ~ 這個鍵上面寫著 HOME:

既然有人定義好,那就直接拿來用 :p

2 thoughts on “用 hjkl 表示左下右上,以及 ~ 表示 home 的原因...”

Leave a Reply

Your email address will not be published. Required fields are marked *