Center Editor Window
Center the active editor around the current cursor position.
Run Center Editor Window from the command palette, or press Ctrl+L.

Settings
center-editor-window.threeStateToggle: toggle between centering the current line, moving it to the top of the viewport, and moving it to the bottom.
center-editor-window.offset: offset from the center target when centering.
center-editor-window.typewriterScrollMode: keep the current line centered whenever the cursor changes lines.
center-editor-window.centerOnUndoRedo: keep the current line centered after undo or redo.
| |