3 ms·
:4 does not go to line 4. Or at least, the line numbers are not correct. No thanks, I'll pass.
by ccvannorman 2y ago
:4 does not go to line 4.
Or at least, the line numbers are not correct.
No thanks, I'll pass.
- thot_experiment 2y agoIt's using relative line numbering, at least for me this is how I've had vim set up for the last 10 years. It makes commands like 10j easier to do because you can just look to the side and see how many lines away the target is.
- dools 2y agoI've never even heard of relative line numbering! I just thought it was broken.
- ccvannorman 2y agoSame! I guess I can see the appeal; it's not for me though, I'm swimming in the local minimum of absolute line number dependence :)
- chamomeal 2y agoThat’s so funny, I love relative line numbers, but I had no idea about half the tips in here. I use relative numbers while in normal mode, and absolute numbers in insert mode. That way you get easy vertical jumps, but you still have a sense of your line numbers.
- vim_racer 2y agoAnother variation on that is relative in both modes, but my current cursor line has the absolute. That's what I tend to roll with!
- vim_racer 2y agoAnother user mentioned this too. I'll be adding settings to let users turn relative lines off.
- ccvannorman 2y agois the vimrc exposed? For maximum vimness you could let players mod an empty vinrc from start
- vim_racer 2y agoI think the library just has key bindings, so it wouldn't even have a vimrc. The library seems great at the time, but I might need to look into alternatives in the future.
- JoshTriplett 2y agoA full vimrc would allow blatant cheating, such as preprogramming commands to do exactly the movements you need for a given case. It sounds like allowing toggles for a few key options would probably satisfy most people while keeping the spirit of the exercise.