Select all occurrences of current word in Visual Studio Code
Multi-cursorWindowsCtrl+F2CtrlF2
MacCmd+F2⌘F2
On Windows, press Ctrl + F2. On Mac, press Cmd + F2.
Ask your agent
Prompt
In Visual Studio Code, the shortcut to "Select all occurrences of current word" is Ctrl+F2 on Windows and Cmd+F2 on Mac. Check whether anything in my setup overrides it, and if I want a different key, change the binding for me.
Paste into Claude Code and it will do the rest.
Related Visual Studio Code shortcuts
- Select all occurrences of current selectionCtrl+Shift+LCtrlShiftL
- Select current lineCtrl+LCtrlL
- Insert cursorAlt+ClickAltClick
- Insert cursor aboveCtrl+Alt+UpCtrlAlt↑
- Insert cursor belowCtrl+Alt+DownCtrlAlt↓
- Undo last cursor operationCtrl+UCtrlU
- Expand selectionShift+Alt+RightShiftAlt→
- Shrink selectionShift+Alt+LeftShiftAlt←
Questions
On Windows, press Ctrl + F2. On Mac, press Cmd + F2.