Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Recenter Top BottomNew to Visual Studio Code? Get it now.
Recenter Top Bottom

Recenter Top Bottom

Victor Teo

|
647 installs
| (1) | Free
Reposition current lines at center top bottom.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Recenter Top Bottom

Reposition current line at center, top, or bottom. Multiple cursors are supported.

By default, Recenter Top Bottom doesn't bind to any key bindings. It's user's right to decide which command goes to which key binding. This is a very handy editor command, you may not want to invoke it through command palette.

If you are an previously emacs user, you may want to add these to your keybindings.json.

{
  "key": "ctrl+l",
  "command": "recenterTopBottom",
  "when": "textInputFocus"
}

Need Help?

Open an issue here.

License

MIT @ Victor Zhang

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft