Tag Info

Hot answers tagged


:set relativenumber has been created to solve that problem.


My personal solution to this is to do 5j or 5k commands to move 5 lines up or down. I find that it's faster to do repeated 5j commands, which have become part of my muscle memory, than it is to try to calculate an exact jump. Of course conditions exist when you want an exact jump, but if you're editing text or code, doing a few 5j commands followed by ...


What I find useful is instead of moving the cursor around I move the screen: Ctrl-e - Scroll the screen upwards Ctrl-y - Scroll the screen downwards As this scrolls the screen then I can easily read the code rather than paginating and then working out where I was. Then I move the cursor to where I want it on the screen: H move to top of the screen M ...

Only top voted, non community-wiki answers of a minimum length are eligible