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:
Mike Scalora
2016-05-25 22:29:50 +02:00
committed by Benno Schulenberg
parent d3bd855c9d
commit 6a2032f5b0
49 changed files with 416 additions and 5 deletions
+1
View File
@@ -3,6 +3,7 @@
syntax "python" "\.py$"
header "^#!.*python[-0-9._]*"
linter pyflakes
comment "#"
# Function definitions.
icolor brightblue "def [0-9A-Z_]+"