summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-03-30 09:29:05 +1100
committerMaxime Coste <mawww@kakoune.org>2018-03-30 09:29:05 +1100
commit8eee5500ea8bf60a36b09f1efc2bc26a02c5bd6d (patch)
tree4e7a332832fd3f936859133dd5c1b42ca512d094
parentf6f2dafaf726505095cb27eea58666bda71d4d55 (diff)
Revert "Simplify comment-line command using trimming primitive"
This reverts commit e661fece722d0b1376a22369820898a19fbda0ab.
-rw-r--r--rc/core/comment.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/core/comment.kak b/rc/core/comment.kak
index 0aa8b186..ae3109be 100644
--- a/rc/core/comment.kak
+++ b/rc/core/comment.kak
@@ -145,7 +145,7 @@ define-command comment-line -docstring '(un)comment selected lines using line co
}
evaluate-commands -draft %{
# Select the content of the lines, without indentation
- execute-keys <a-s>_
+ execute-keys <a-s>gi<a-l>
try %{
# Keep non-empty lines