From e661fece722d0b1376a22369820898a19fbda0ab Mon Sep 17 00:00:00 2001 From: Delapouite Date: Tue, 27 Mar 2018 19:53:13 +0200 Subject: [PATCH] Simplify comment-line command using trimming primitive --- rc/core/comment.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/comment.kak b/rc/core/comment.kak index ae3109be..0aa8b186 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 gi + execute-keys _ try %{ # Keep non-empty lines