Reputation: 2521
what Ctrl+d would do in VI I found the command duplicate_line and managed to create a shortcut for it like so:
{ "keys": ["ctrl+y"], "command": "duplicate_line"}
Upvotes: 0
Views: 55
Reputation: 4242
ctrl+shift+k should remove current line.
{ "keys": ["ctrl+shift+k"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} },
If you are using VI mode, d+d in command mode should remove current line, too.
Upvotes: 1