1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-09-21 09:59:08 +03:00

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 %{
# Select the content of the lines, without indentation
execute-keys <a-s>gi<a-l>
execute-keys <a-s>_
try %{
# Keep non-empty lines