Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Smart Beginning of LineNew to Visual Studio Code? Get it now.

Smart Beginning of Line

Victor Teo

|
252 installs
| (0) | Free
Move cursor to the content beginning and line start.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Smart Beginning of Line

Jump to the first non-whitespace character first. If cursor is at first non-whitespace character, jump to line start. Multiple cursors are supported.

By default, Smart Beginning of Line 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+a",
  "command": "smartBeginningOfLine",
  "when": "textInputFocus"
}

Need Help?

Open an issue here.

License

MIT @ Victor Zhang

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft