Home Download Buy Blog Forum Support

Can I bind Command-D to "Delete Line"?

Can I bind Command-D to "Delete Line"?

Postby javajosh on Tue Jun 26, 2012 5:20 am

I'm a little shaky with Sublime Text 2, but I read the commands page (http://www.sublimetext.com/docs/commands) and didn't see anything that looked like "delete line". I'm also not really clear on how to edit my key bindings - the docs talk about XML in one place, and JSON in another, and the file opened in the Preferences>Key Bindings-User just has a couple of square brackets (like so: []).

I'm a registered user, and I wouldn't mind getting a pointer on this. Thanks.
Posts: 1
Joined: Tue Jun 26, 2012 5:18 am

Re: Can I bind Command-D to "Delete Line"?

Postby svenax on Tue Jun 26, 2012 6:00 am

Delete line: Ctrl+Shift+K
Delete to end of line: Ctrl+K

If you've seen documentation talking about XML files, then that is for Sublime Text 1 and not relevant anymore.
To see what the standard key bindings are, you need to look at Preferences / Key Bindings - Default. And Any changes you want to make should then go into Key Bindings - User.
Posts: 158
Joined: Tue Dec 20, 2011 12:47 pm

Return to Technical Support

Who is online

Users browsing this forum: ttugrul and 24 guests