Edit: Shrink Selection

edit.shrinkSelection

Shrink the selection back to the previous expand range.

How to run it

Open the command palette and search for Edit: Shrink Selection, then press Enter. The palette opens with M-x in Emacs, Ctrl+Shift+P in CUA, Sublime Text and VS Code, and Ctrl+Shift+A in IntelliJ IDEA (⇧⌘P and ⇧⌘A on macOS). It also has a default keybinding:

KeymapWindows / LinuxmacOS
CUAAlt+Shift+Left⌃⇧⌘←
Sublime TextAlt+Shift+Left⌃⇧⌘←
VS CodeAlt+Shift+Left⌃⇧⌘←
IntelliJ IDEACtrl+Shift+W⌥↓

See also