diff --git a/rc/filetype/sh.kak b/rc/filetype/sh.kak index 35076d9c..fff26562 100644 --- a/rc/filetype/sh.kak +++ b/rc/filetype/sh.kak @@ -128,7 +128,7 @@ define-command -hidden sh-indent-on-new-line %[ # indent after then try %{ execute-keys -draft k then$ j } # deindent after fi - try %{ execute-keys -draft k fi$ j K } + try %{ execute-keys -draft k fi$ K j j K } # deindent and reindent after else - deindent the else, then back # down and return to the previous indent level. try %{ execute-keys -draft k else$ j }