new feature: comment/uncomment current line or selected lines
This allows for commenting or uncommenting a line or a bunch of lines with a single keystroke (default binding: M-3). The characters used for commenting/uncommenting are specified by the active syntax file. Reviewed-by: Benno Schulenberg <bensberg@justemail.net> Signed-off-by: Mike Scalora <mike@scalora.org>
This commit is contained in:
committed by
Benno Schulenberg
parent
d3bd855c9d
commit
6a2032f5b0
@@ -3,6 +3,7 @@
|
||||
syntax "python" "\.py$"
|
||||
header "^#!.*python[-0-9._]*"
|
||||
linter pyflakes
|
||||
comment "#"
|
||||
|
||||
# Function definitions.
|
||||
icolor brightblue "def [0-9A-Z_]+"
|
||||
|
||||
Reference in New Issue
Block a user