From b40a53d26cdab62b048bbc6f6c2e21eb2fec2d90 Mon Sep 17 00:00:00 2001 From: John Isom Date: Mon, 27 Jul 2020 21:42:44 -0600 Subject: [PATCH] Remove extraneous -itersel flag from deindent closing brace after cursor --- rc/filetype/kakrc.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/kakrc.kak b/rc/filetype/kakrc.kak index 2a0765dd..024e1076 100644 --- a/rc/filetype/kakrc.kak +++ b/rc/filetype/kakrc.kak @@ -101,7 +101,7 @@ define-command -hidden kak-indent-on-new-line %~ # indent after line ending with %\w*[^\s\w] try %{ execute-keys -draft k \%\w*[^\s\w]$ j } # deindent closing brace when after cursor - try %_ execute-keys -draft -itersel ^\h*[>)}\]]\h*$ hm 1 _ + try %_ execute-keys -draft ^\h*[>)}\]]\h*$ hm 1 _ # deindent closing char(s) try %{ execute-keys -draft -itersel ^\h*([^\s\w])\h*$ h 1 % \w*1$ 1 } =