Center the screen on the selected line, like zz
in vim.
Activate first by doing one of the following:
Center Screen: Center Screen
from the command paletteCenter Screen
from the context menu'.editor':
'ctrl-alt-z': 'center-screen:center-screen'
After that you can use these methods to center the selected line.
You can choose to keep the selected line centered when you move by using the Follow Cursor option in one of the following ways:
Follow Cursor
in the settings for this packageCenter Screen: Toggle Follow Cursor
from the command palette