by troyvit · 2y ago · 0 comments
The relative number bit actually drives me nuts. Mostly I'm fixing some code error "on line 465" of my code. I open up my spacevim and I'm always at line 0, so I have to gg then 465G and it's irritating. Probably need a better IDE.
:set number
:set relativenumber
With both set, you see the actual line number you're on (e.g. line 465) and all other lines are relative.Personally I end up copy/pasting in/out of vim enough that I turn off line numbers but... FWIW, there's a way to not have the "always on 0" problem. :)