Select current line in Visual Studio Code
Multi-cursorWindowsCtrl+LCtrlL
MacCmd+L⌘L
On Windows, press Ctrl + L. On Mac, press Cmd + L.
Ask your agent
Prompt
In Visual Studio Code, the shortcut to "Select current line" is Ctrl+L on Windows and Cmd+L 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 all occurrences of current wordCtrl+F2CtrlF2
- 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 + L. On Mac, press Cmd + L.