Delete line in Visual Studio Code
EditingWindowsCtrl+Shift+KCtrlShiftK
MacCmd+Shift+K⌘⇧K
On Windows, press Ctrl + Shift + K. On Mac, press Cmd + Shift + K.
Ask your agent
Prompt
In Visual Studio Code, the shortcut to "Delete line" is Ctrl+Shift+K on Windows and Cmd+Shift+K 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
- Cut line (empty selection)Ctrl+XCtrlX
- Copy line (empty selection)Ctrl+CCtrlC
- Move line upAlt+UpAlt↑
- Move line downAlt+DownAlt↓
- Copy line upShift+Alt+UpShiftAlt↑
- Copy line downShift+Alt+DownShiftAlt↓
- Insert line belowCtrl+EnterCtrl↵
- Insert line aboveCtrl+Shift+EnterCtrlShift↵
Questions
On Windows, press Ctrl + Shift + K. On Mac, press Cmd + Shift + K.