I’ve learned some new shortcuts for Sublime Text 2. I’ve been learning a few vim shortcuts, and I wanted to figure out how to do some of the things I can do in vim in Sublime.
Ctrl
+shift
+k
Deletes entire line.Ctrl
is the correct key, even for OSX.-
Cmd
+x
Cuts the line if you want to move it somewhere. This does not require highlighting anything.
And as a note, many of the usual keyboard shortcuts work this way. Cmd
+ c
will copy the line without needing to select anything.