args Dictionary of arguments to be passed to command. command Name of the command to be executed. Chords are built by adding elements to the array, Ambiguous chords are resolved with a timeout. keys An array of case-sensitive keys to be pressed. Note that there should be only one set of brackets (' ') at the right side if you had there something already, copy paste this between the brackets and keep only the outermost brackets. Below you’ll find valid elements in key bindings. To Preferences -> Key Bindings (on the right half, the user keymap). I managed to change it into Ctrl+ 1 as per Robert's comment by writing [ With a non-US keyboard layout the default shortcut Ctrl+ / (Win/Linux) does not work. By default, the following key combinations are mapped to toggle block comments: After some time (usually 30-40 seconds for Magento projects), CTags will build your tags and you can start to harness their power. This command also takes a block argument, which allows you to use block comments instead of single lines (e.g. To add a key bind add this to your sublime-keymap file (Preferences > Key Bindings User): Now you can build your tags by pressing alt+shift+c, or any other key combination you want. You're looking for the toggle_comment command. The shortcut to comment out or uncomment the selected text or current line:Īlternatively, use the menu: Edit > Commentįor the block comment you may want to use:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |