Change key for toggle comment in Sublime Text 3

- 1 min

I love Sublime Text 3 but I’m sued to Ctrl + Shift + C to toggle comment the current line or block of lines. The default behaviour of Sublime Text for commenting is:

{ "keys": ["ctrl+/"], "command": "toggle_comment", "args": { "block": false } }
{ "keys": ["ctrl+shift+/"], "command": "toggle_comment", "args": { "block": true } }

I like it to behave like this:

{ "keys": ["ctrl+shift+c"], "command": "toggle_comment", "args": { "block": false } }

So, this lines means that the comments are done by line (not by block) and with the Ctrl + Shift + C key-binding.

Carles Hernandez-Ferrer

Carles Hernandez-Ferrer

Bioinformatics, data analysis and software development

rss facebook twitter github gitlab youtube mail spotify lastfm instagram linkedin google google-plus pinterest medium vimeo stackoverflow reddit quora quora