mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 07:53:41 +03:00
Merge remote-tracking branch 'krobelus/done-deindent'
This commit is contained in:
commit
e4c27df5f5
@ -108,7 +108,7 @@ define-command -hidden sh-indent-on-new-line %[
|
||||
# indent after do
|
||||
try %{ execute-keys -draft <space> k <a-x> <a-k> do$ <ret> j <a-gt> }
|
||||
# deindent after done
|
||||
try %{ execute-keys -draft <space> k <a-x> <a-k> done$ <ret> <a-lt> j K <a-&> }
|
||||
try %{ execute-keys -draft <space> k <a-x> <a-k> done$ <ret> K <a-&> j <a-lt> j K <a-&> }
|
||||
|
||||
# Indent if/then/else syntax, e.g.:
|
||||
# if [ $foo = $bar ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user