Vi(m) tip #8: scroll cursor to top, center or bottom of screen
Alec Jacobson
June 23, 2010
In command mode you can do some handy quick scrolling.
Scroll so that line with cursor is in the center of the screen:
z.
Scroll so that line with cursor is at the top of the screen:
zt
Scroll so that line with cursor is at the bottom of the screen:
zb
source