I have used (and like) relative line numbers for a while now. However, when using MacVim full-screen on large (high resolution) screens, the relativenumber and cursorline slow down redraws considerably on my Macs, to the point where it annoys me a lot. Does anyone else have the same experience and perhaps a solution?
Relative Line Numbers in Vim
31–40 of 40 posts
Re: Relative Line Numbers in Vim
#32Re: Relative Line Numbers in Vim
#33Earlier quoted context omitted.
Polite translation: Take the time to learn how to setup vim yourself and it will reward you 10 fold.
Haha. Yes, that's what I meant. Thanks for your help. I see two slightly overlapping trends: 1. Alice is intrigued by all the fuss about Vim and tries her best to wrap her head around it by reading online material and "The Fucking Manual" and getting her hands dirty. Because she knows that she can't be as productive as with her previous editor in an afternoon, she learns Vim on the side. Another benefit of that metho…
Once you drink the cool-aid, there's nothing quite like it. Sometimes I think that scooting around a text file in vim is my favorite thing about coding.
Re: Relative Line Numbers in Vim
#34Re: Relative Line Numbers in Vim
#35Step 2: Use the convenient 'cor' mapping for toggling 'relativenumber'
Step 3: Marvel at all the other super handy mappings contained within.
Re: Relative Line Numbers in Vim
#36Relative line numbers may be useful at first, but they quickly show their limitation when one needs to jump to a specific line.
Re: Relative Line Numbers in Vim
#37Earlier quoted context omitted.
Relative line numbers for LIFE! :D d3j (delete 3 down) and y3j (yank 3 down) do the same things, but relative. I don't even need to look at the relative numbers anymore really. For short hops I just guess. I'm right most of the times.
Absolute line numbers are more convenient for me. Relative line numbers didn't give me any advantage after I learned about the G command. That command is also useful for going to the bottom of the file (G) or to the top of the file (1G). With absolute line numbers I don't have the line numbers changing all the time, which was distracting. It's also easier to open files at a specific line.
Re: Relative Line Numbers in Vim
#38After some time I got used to it and I can select blocks of text of size 5-10 faster than I would using movement with number (I don't have to move my fingers away, I don't have to calculate or look at the relative distance). Advantage is that it works well outside of vim as well.
Re: Relative Line Numbers in Vim
#39Relative line numbers may be useful at first, but they quickly show their limitation when one needs to jump to a specific line.
Excuse me, I meant when one needs to know in which line he is .
Re: Relative Line Numbers in Vim
#40Earlier quoted context omitted.
Absolute line numbers are more convenient for me. Relative line numbers didn't give me any advantage after I learned about the G command. That command is also useful for going to the bottom of the file (G) or to the top of the file (1G). With absolute line numbers I don't have the line numbers changing all the time, which was distracting. It's also easier to open files at a specific line.
gg will take you to the top of the file too