Keyboard shortcut to comment lines in Sublime Text 3

It seems a bug: http://www.sublimetext.com/forum/viewtopic.php?f=3&t=11157&start=0 As a workaround, go to Preferences->Key Bindings – User and add these keybindings (if you’re using Linux): { “keys”: [“ctrl+7”], “command”: “toggle_comment”, “args”: { “block”: false } }, { “keys”: [“ctrl+shift+7”], “command”: “toggle_comment”, “args”: { “block”: true } } Update: This also works on Windows 8 (see @Sosi’s comment)

How to select all instances of a variable and edit variable name in Sublime

Put the cursor in the variable. Note: the key is to start with an empty selection. Don’t highlight; just put your cursor there. Press ⌘D as needed. Not on a Mac? Use CtrlD. Didn’t work? Try again, making sure to start with nothing selected. More commands: Find All: Ctrl⌘G selects all occurences at once. Not … Read more

Is it possible to chain key binding commands in sublime text 2?

Although the question is a year old, this might help people that are still looking for an answer. Recently, a new package was developed by jisaacks, called Chain of command. It has the primary task to do exactly what you request, to chain several commands at once. The package can be found here: https://github.com/jisaacks/ChainOfCommand An … Read more