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

Cursor Move

stringham

|
3,416 installs
| (3) | Free
Move the cursor a word at a time
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

This extension modifies the cursor move commands to behave like it does in other editors (e.g. Sublime Text, Text inputs in Chrome).

There is a vscode feature request for this here: https://github.com/Microsoft/vscode/issues/32246

If you have text that looks like:

this.is.a.test and navigate with ctrl+left or ctrl+right, in most platforms you get from the beginning to the end with 4 key presses. With vscode it takes 7.

A few gifs to illustrate, pressing ctrl+left to get to the beginning and then ctrl+right to get to the end.:

Sublime Text:

sublime-word

Chrome:

chrome-word

vscode (without this extension):

vscode-word

With this extension, vscode behaves like the first two gifs.

##Version 0.0.1:

Treat open/close parens and spaces differently. Always stop at the beginning/end of lines.

##Version 0.0.2:

Implemented a simple version of https://github.com/Microsoft/vscode/issues/26968. If you at an open brace to the end of a line and the following line is indented, it will put the closing brace on the following line rather than right after the opening brace.

##Version 0.0.3:

Treat open/close parens and spaces differently. Always stop at the beginning/end of lines.

##Version 0.0.4:

Stop after commas.

##Version 0.0.5:

Use registerCommand instead of registerTextEditorCommand to prevent moving the cursor to add empty operations to the edit stack.

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