Simplify comment-line command using trimming primitive

This commit is contained in:
Delapouite 2018-03-27 19:53:13 +02:00
parent 726dd8f0d8
commit e661fece72

View File

@ -145,7 +145,7 @@ define-command comment-line -docstring '(un)comment selected lines using line co
} }
evaluate-commands -draft %{ evaluate-commands -draft %{
# Select the content of the lines, without indentation # Select the content of the lines, without indentation
execute-keys <a-s>gi<a-l> execute-keys <a-s>_
try %{ try %{
# Keep non-empty lines # Keep non-empty lines