3 ms·
Some folk like `34d` so they don't need to press shift. And sometimes set relative line numbers so they don't need to do the subtraction. Others just search fo
by repsilat 6y ago
Some folk like `34d` so they don't need to press shift. And sometimes set relative line numbers so they don't need to do the subtraction.
Others just search for known text, which IMO is a habit I need to get into. I "got" hjkl after I disabled the cursor keys for a day, but I never followed up and disabled hjkl (or maybe even w and b!?) to get super efficient.
- strogonoff 6y agoI have never considered disabling hjkl, quite an interesting idea.
- coliveira 6y agoYou can just use 54gg, no shift involved.
- alpaca128 6y agoI often navigate with the search. It's fast as I usually know where I want to go. Also with the right setting(I think incsearch) Vim immediately jumps to the first result as you type, so I often use search to quickly peek at some code and then jump back with Esc when it doesn't warrant splitting the buffer. But I do still struggle a bit with moving within the line - w and b tend to "get caught" in long series of different symbol categories that Vim will all see as separate words/tokens. At least I got my setup with the "camelcasemotion" plugin working, which is a great help with long identifier names.