this post was submitted on 26 Oct 2024
632 points (97.0% liked)
Programmer Humor
32343 readers
1182 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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 immenselyI 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
.That's why
rnu
(i.e. relative numbering) is mentioned, tho