If you've got a file open in vim, try the following shortcuts in command mode:
z. = center on current line zt = make current line the top line zb = make current line the bottom line