102
        you are viewing a single comment's thread
view the rest of the comments
    
  
  
    view the rest of the comments
        this post was submitted on 24 Oct 2025
        
  
      
  
      102 points (100.0% liked)
      Programmer Humor
    27113 readers
  
      
      1037 users here now
  
      Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
        founded 2 years ago
      
  
  
      MODERATORS
      
  
     
            
          
I think they're relative line numbers (a setting in vim). So they count down to where the cursor is currently at. (and would count upward form there)
Yep.
Nice, what do you need them for though? Relative movements?
I haven't yet mastered Vim, but say I want to delete a block of text, then I immediately see the relative line number up to which I want to delete lines + 1 (because current line is basically zero).
Say I have:
And I want do delete d,e and f, I do
3dd. With more lines, I don't have to count.