Skip to content

↑↓ moveEnter openEsc close

Toggle regex in VS Code

VS Code 1.96 · 138 shortcuts · checked Nov 2026 · Source: Microsoft docs

In Visual Studio Code, press Cmd+Option+R (Mac), Alt+R (Windows, Linux). Works when: find widget open.

What else uses Option+Cmd+R? · What else uses Alt+R?

More VS Code shortcuts: search and replace

ActionMacWindowsLinux
FindCmdFCtrlFCtrlF
ReplaceOptionCmdFCtrlHCtrlH
Find nextEnterorCmdGEnterorF3EnterorF3
Find previousShiftEnterorShiftCmdGShiftEnterorShiftF3ShiftEnterorShiftF3
Select all occurrences of find matchOptionEnterAltEnterAltEnter
Toggle case-sensitiveOptionCmdCAltCAltC
Toggle whole wordOptionCmdWAltWAltW

All 138 VS Code shortcuts