This extensions strives to organize the text navigation shortcuts in VS Code into a more complete and memorable system.
Many of the shortcuts provided by this extension are the same as the default keybindings; however, a few important shortcuts have been moved, and a few new commands created to make everything more uniform.
(⌘ + direction) will move the cursor maximally
(⌥ + direction) will move the cursor by whitespace
(^ + direction) will move the content under the cursor
The number of lines that the Cursor will move Up/Down with a (^ ⌥) keybinding is configurable in settings.
Here is a list of all the keybindings provided:
⌘ + direction
Move to the far end in each direction
(⌘ Up)
Move to the Top of the document.
Add (⬆︎Shift) to select.
(⌘ Down)
Move to the Bottom of the document.
Add (⬆︎Shift) to select.
(⌘ Left)
Move Left to the Start of the Line.
Add (⬆︎Shift) to select.
(⌘ Right)
Move Right to the End of the Line.
Add (⬆︎Shift) to select.
(⌘ Backspace)
Delete Left to the Start of the Line
(⌘ Delete)
Delete Right to the End of the Line
⌥ + direction
Move by whitespace
(⌥ Up)
move to the prev blank line.
Add (⬆︎Shift) to select.
(⌥ Down)
move to the next blank line.
Add (⬆︎Shift) to select.
(⌥ Left)
Move One Whole Word to the Left.
Add (⬆︎Shift) to select.
(⌥ Right)
Move One Whole Word to the Right.
Add (⬆︎Shift) to select.
(⌥ Backspace)
Delete One Whole Word to the Left
(⌥ Delete)
Delete One Whole Word to the Right
^ + ⌥ + direction
These are exactly like the (⌥Option) keys,
but with a bit more "contol"...
(^ ⌥ Up)
Jump up by a few lines.
Add (⬆︎Shift) to select.
(^ ⌥ Down)
Jump down by a few lines.
Add (⬆︎Shift) to select.
(^ ⌥ Left)
MoveOneWordPART left.
Add (⬆︎Shift) to select.
(^ ⌥ Right)
MoveOneWordPART right.
Add (⬆︎Shift) to select.
(^ ⌥ Backspace)
DeleteOneWordPART left
(^ ⌥ Delete)
DeleteOneWordPART right
^ + direction
Moving content using the cursor!
These keybindings will work with a selection or without a selection.
They can move content, or copy it.
(^ Up)
Move Lines Up.
Add (⬆︎Shift) to copy lines.
(^ Down)
Move Lines Down.
Add (⬆︎Shift) to copy lines.
(^ Left)
Move Caret Left.
Add (⬆︎Shift) to copy character or selection.
(^ Right)
Move Caret Right.
Add (⬆︎Shift) to copy character or selection.
Enter Keybindings:
these move content!
(^ Enter)
Insert New Line Below
(⬆︎Shift ^ Enter)
Insert New Line Above
(⌘ Enter)
Go to the Definition
same as ⌘ LeftClick!