This will center the current line
zz
Optionally you could set scrolloff to something large like 999 and the working line will always be in the center, except when you are towards the start or end of the file.
:set scrolloff=999
This will center the current line
zz
Optionally you could set scrolloff to something large like 999 and the working line will always be in the center, except when you are towards the start or end of the file.
:set scrolloff=999