News for hackers. Stuff that matters.
Re:To understand the command line... by jonathansizz on Monday October 01, 2012 @10:57AM (#4597334)
vi/vim allow you to use the arrow keys for navigation if you want to. The choice is yours. I prefer keeping my fingers on the home row, and so I find hjkl to be much more efficient, especially on a laptop where the arrow keys aren't usually physically separated from the rest of the keys.
Re:To understand the command line... by prawks on Monday October 01, 2012 @11:31AM (#4597536)
Also, you can't have fingers on all four arrow keys at once, while you can with hjkl. It's not only more ergonomic in the sense that you move your arm less, but also because you move your fingers less.
Re:To understand the command line... by sp332 on Monday October 01, 2012 @11:04AM (#4597381)
I'd rather use ASDF but those keys are taken by other vi commands. Anyway, is there a way to press "Esc" without moving your whole arm?
Re:To understand the command line... by olalonde on Monday October 01, 2012 @11:08AM (#4597408)
A lot of Vim users remap <caps lock> to <esc>.
Re:To understand the command line... by weaksauce on Monday October 01, 2012 @12:07PM (#4597738)
I advocate remapping jj to escape.

Put this in your .vimrc or just try it out from the command bar:

inoremap jj <Esc>

Re:To understand the command line... by Rynant on Monday October 01, 2012 @11:18AM (#4597463)
In Vim, you can use CTRL-[.
Re:To understand the command line... by dakr on Monday October 01, 2012 @02:03PM (#4598445)
I expand on this by remapping capslock to control. This is very useful and comfortable in vi and elsewhere.