2 ms·
> The current line number is in the bottom right, and if I need to go to a specific line number I have `G` for that. How would you know which line number to go
by eviks 2y ago
> The current line number is in the bottom right, and if I need to go to a specific line number I have `G` for that.
How would you know which line number to go to? You see that word half a screen up, what's its line number?
- Arch-TK 2y agoThere's the relative number line etc, but I've never actually encountered a situation where I felt the need to make a jump to a line number on the screen and didn't do it with basic vim motions instead. Every time I'm going to a specific line number, it's because I'm following an error message that references a file and line number.
- eviks 2y agoMoving 15 lines up is a basic vim motion
- Arch-TK 2y agoI can't easily do such mental arithmetic quickly enough for it to be faster than just estimating the number of lines and correcting. I once tried to solve this by using relative numbers and it didn't help much. I just turned the number line off.