Hi, I recently learn that Cmd + / can toggle your line in comment. My syntax use the Python comment system and I want to include the same shortcut function. I search in Python.tmlanguage but I didn’t find it Where is it and where I have to place it ? Thanks in advance.
Use Python Comment Shortcut in my Syntax
Aerosmite
#1
0 Likes
Language specific key binding
kingkeith
#2
sounds like ST2 to me?
Anyway, this is controlled by a tmPreferences file which applies to a particular scope.
http://docs.sublimetext.info/en/latest/reference/comments.html#md-comments-shellvariables
Here is Python’s from ST3:
2 Likes