648
You don't need the mouse (lemmy.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] fl42v@lemmy.ml 2 points 1 month ago

y6jjp is generally faster, tho, as long as you know you need exactly 7 lines or happen to have :set nu rnu in your config. Also, if using nvim, having yanks highlighted helps immensely

[-] dQw4w9WgXcQ@lemm.ee 3 points 1 month ago

I might be in a minority of this, but using numbers that way breaks my flow for 2 reasons: Firstly, any number of lines greater than around 3 or 4 means I have to stop and manually count. Not that counting to 6 takes a long time, but it does use some mental capacity while I want my mind focused on the actual code. Secondly, I don't have touch typing in my fingers for the number line on my keyboard. If I need to type a number, I either have to look down at my keyboard, or move my hand over to the numpad. In both cases it would be quicker for me to Vjjjjjy.

[-] fl42v@lemmy.ml 2 points 1 month ago

manually count

That's why rnu (i.e. relative numbering) is mentioned, tho

this post was submitted on 26 Oct 2024
648 points (97.0% liked)

Programmer Humor

32576 readers
204 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS