how to delete entire line in sublime in windows

CTRL + SHIFT + K will delete a line in Sublime Text 3 on Mac OS, too.


CTRL + SHIFT + K will delete a line in Sublime Text 3 on Windows.


CTRL + SHIFT + K will delete a line in Sublime Text 3 on Linux(tested on Ubuntu 14.0), too.


By default it is CTRL+SHIFT+K which to me doesn't feel very comfortable.

If you want to use a custom shortcut instead:

  1. Go to PreferencesKey Bindings,
  2. On the right side (the user defined keymap), add this line:
    { "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} }
  3. Save.

Now you can use CTRL+D as the delete line command!