Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove selection of a find next match in VS Code

VSCode lets you add to your selection the next occurence of your current selection via the "Add Selection To Next Find Match" command (or Cmd/Ctrl + D shortcut).

Is there a way to remove the last added match from the selection? Basically this question but for VS Code.

like image 874
Jay Wick Avatar asked Dec 13 '22 09:12

Jay Wick


1 Answers

Ok wow, so the same shortcut in the answer for Sublime Text works for VS Code:

CtrlU / U

Which invokes the Undo cursor command.

Pressing Ctrl U undos the cursor selection

like image 170
Jay Wick Avatar answered Feb 16 '23 01:02

Jay Wick