by chrismorgan · 11y ago · 0 comments
- `}` to go forward by paragraph.
- `zj` to go down to the next fold.
- `gg` and `G` both accept a count (with which they are identical), so that `50gg` means “go to line 50”, and so absolute line numbers suffice though the command will typically be a little longer; of course, unlike `6j`, this will go to the start of the line if 'startofline' is not unset, so it’s not always ideal, but I find myself rather good at knowing at sight how many lines down and up I need to go anyway.
set relativenumber
set number
In your .vimrc
Of course, saving one keypress on this isn't a big deal but it's nice sometimes to be able to see the command you're typing.