Simplify comment-line command using trimming primitive
This commit is contained in:
parent
726dd8f0d8
commit
e661fece72
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user