0

Support ^W shortcut out of the box

pazsxn vor 13 Jahren aktualisiert von Joel Thornton vor 13 Jahren 2
It's readline standard for deleting last word. In TextMate it highlights last word, which is good enough as well.
+1
{ "keys": ["ctrl+w"], "command": "expand_selection", "args": {"to": "word"} }
Seconding the DIY approach. Ctrl+W already has a common idiomatic assignment on Windows, "close tab or current document".

ST2 uses Ctrl+D to perform "expand selection to word", and also has the very nice additional effect of selecting additional matching words in the document when you press Ctrl+D repeatedly.