
Why does vim use hjkl for cursor keys? - Vi and Vim Stack Exchange
2016年8月24日 · Nobe4's answer is great, and explains why we use hjkl very well. However, it's really interesting to see the full keyboard, and a lot of strange things about vim make more sense when you can see the full keyboard it was designed on. For example, why does vi rely so heavily on the esc key, when it's in such a weird and uncomfortable place? This ...
Why did vi use hjkl instead of jikl? - Vi and Vim Stack Exchange
2023年6月16日 · Vi used hjkl because its creator's keyboard didn't have physical cursor keys. Instead, the arrows were printed on the hjkl keys. The arrow keys were printed on hjkl because the corresponding control codes all moved the cursor in directions roughly similar to the cursor keys: ^H for "backspace, ^J for "line feed", ^K for "upline", and ^L for ...
Is there any difference between hjkl and arrow keys?
2017年7月5日 · (The same is true in a couple of other places, for instance you can use left/right arrows to move around within a command or search/replace you are typing, but you cannot use hjkl for movement in those cases.) There is one other difference, I suppose - since they are separate keys, they can be mapped to separate things.
linux - VimTutor arrow keys v/s hjkl - Stack Overflow
2012年7月29日 · The thing is that you start out using the "hjkl" key just as a slightly better way to move your cursor, but the truth is that they are actually motions. h motions one character left; j motions one line down; k motions one line up; l motions one character right
In Vim, why are the navigation keys HJKL and not JKL;?
2021年11月12日 · Vi used hjkl because its creator's keyboard didn't have physical cursor keys. Instead, the arrows were printed on the hjkl keys. The arrow keys were printed on hjkl because the corresponding control codes all moved the cursor in directions roughly similar to the cursor keys: ^H for "backspace, ^J for "line feed", ^K for "upline", and ^L for ...
Why arrow keys are not recommended in Vim - Super User
2015年8月18日 · hjkl are normal characters and well understood by all kinds of terminals. You don't move the cursor in Insert mode (except for Backspace and correcting a short typo), the idea of vi is to enter Insert mode only to enter something.
Why are h,j,k,l recommended over using arrow keys for vim?
2014年11月3日 · hjkl are only marginally better than the arrows while Vim's more advanced motions, bBeEwWfFtT,;/?^$ and so on, offer a huge advantage over the arrows and hjkl. FWIW, I use the arrows for small movements, in normal and insert mode, and the advanced motions above for larger motions.
vim - Why "hjkl" is highly recommended? - Stack Overflow
2013年1月11日 · Possible Duplicate: VimTutor arrow keys v/s hjkl Why "hjkl" is highly recommended? I think it's more convenice using arrow key. Is there any advantages using "hjkl"?
Hand Placement for Vim Navigation - Vi and Vim Stack Exchange
2015年7月7日 · The "use hjkl keys, arrow keys are evil"-dogma is a strong one in the Vi/Vim community, but in many ways it's also a silly one. Aside from the fact that I'm not at all convinced it is actually faster in all scenarios, even if it would be, is …
linux - Vim: set 'cursor' keys hjkl to wasd - Stack Overflow
2016年7月4日 · I admit that I'm not an expert vim user so forgive me not providing previous attempts!. I wish to overwrite/remap the basic vi/vim (and gvim) "cursor keys" hjkl to the ordinary "gamer layout" wasd (w-up, a-left, s-down, d-right).