3 ms·
Just look at your keyboard :-) (https://en.m.wikipedia.org/wiki/ADM-3A#Legacy https://en.m.wikipedia.org/wiki/ADM-3A#Legacy) I always try to remember them by
by Someone 10y ago
Just look at your keyboard :-)
(https://en.m.wikipedia.org/wiki/ADM-3A#Legacy https://en.m.wikipedia.org/wiki/ADM-3A#Legacy)
I always try to remember them by noting that the leftmost key moves left, the rightmost key moves right (not too hard), and that 'K climbs' (using alliteration to remember that). That leaves 'J' for cursor down.
In practice, though, I use the cursor keys. Luckily, they work on the editors/systems I work on nowadays. Side effect is that I am very bad at remembering those mnemonics.
- robgough 10y agoI stole the following from a colleagues `.vimrc` which finally allowed me to learn `hjkl`. Now I forget I have this set, and when I do accidentally use an arrow key it makes me laugh. map <Left> :echo 'damnit!'<cr> map <Right> :echo 'you suck!'<cr> map <Up> :echo 'this is why you fail'<cr> map <Down> :echo 'nooooo!'<cr>
- somethingsimple 10y agoOff-topic: I love your username. See https://news.ycombinator.com/item?id=12068116 https://news.ycombinator.com/item?id=12068116
- repsilat 10y ago> K climbs Lower-case 'k' has an ascender, lower-case 'j' has a descender. https://en.wikipedia.org/wiki/Ascender_(typography) https://en.wikipedia.org/wiki/Ascender_(typography) https://en.wikipedia.org/wiki/Descender https://en.wikipedia.org/wiki/Descender