Ctrl + Shift + K to Delete Line
This week, while working in Rider, I deleted a few lines in my editor and a co-worker noticed and asked how I did it. My co-worker hadn’t seen that shortcut before.
By default, Ctrl + Shift + K
deletes a line in both VS Code and Sublime Text. Here’s a quick GIF showing it in action in VS Code:
If you’d like to set up this keybind in an Jetbrains product (like Rider), you can do so easily by navigating to File > Settings > Keymap
, then searching for “delete line” and assigning it there.