diff --git a/rc/filetype/sh.kak b/rc/filetype/sh.kak index 35076d9c..b18ad0a5 100644 --- a/rc/filetype/sh.kak +++ b/rc/filetype/sh.kak @@ -108,7 +108,7 @@ define-command -hidden sh-indent-on-new-line %[ # indent after do try %{ execute-keys -draft k do$ j } # deindent after done - try %{ execute-keys -draft k done$ j K } + try %{ execute-keys -draft k done$ K j j K } # Indent if/then/else syntax, e.g.: # if [ $foo = $bar ]; then