parent
c2516f02f6
commit
35f27030c3
|
@ -108,7 +108,7 @@ define-command -hidden sh-indent-on-new-line %[
|
||||||
# indent after do
|
# indent after do
|
||||||
try %{ execute-keys -draft <space> k <a-x> <a-k> do$ <ret> j <a-gt> }
|
try %{ execute-keys -draft <space> k <a-x> <a-k> do$ <ret> j <a-gt> }
|
||||||
# deindent after done
|
# 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.:
|
# Indent if/then/else syntax, e.g.:
|
||||||
# if [ $foo = $bar ]; then
|
# if [ $foo = $bar ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user