News for hackers. Stuff that matters.
Re:Five lines I put in a blank .vimrc by repsilat on Sunday December 13, 2020 @05:12PM (#25410872)
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.

Re:Five lines I put in a blank .vimrc by alpaca128 on Sunday December 13, 2020 @06:04PM (#25411361)
I 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.

Re:Five lines I put in a blank .vimrc by coliveira on Sunday December 13, 2020 @06:01PM (#25411328)
You can just use 54gg, no shift involved.
Re:Five lines I put in a blank .vimrc by strogonoff on Sunday December 13, 2020 @05:22PM (#25410991)
I have never considered disabling hjkl, quite an interesting idea.