Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Cursor CommandsNew to Visual Studio Code? Get it now.
Cursor Commands

Cursor Commands

BJR Matos

|
87 installs
| (0) | Free
Multiple Cursor Commands for your needs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Cursor Commands

This extension adds some additional cursor commands to VSCode:

  • cursor-commands.moveCursorToViewportCenter: Move cursor to the center of editor viewport, preserving the folded regions state. Useful if you have scrolled the cursor out of the current view and you want to position the cursor to the current view without using the mouse
  • cursor-commands.scrollCenterToCursor: Scroll to the center at the current cursor position

You can register keyboard shortcuts for these commands in your keybindings.json file.

[
  { "key": "cmd+k cmd+u", "command": "cursor-commands.moveCursorToViewportCenter", "when": "editorTextFocus" },
  { "key": "ctrl+u", "command": "cursor-commands.scrollCenterToCursor", "when": "editorTextFocus" },
]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft