Simplify closing brace indentation
Edits same line as previous commit. I replaced a complex selection command with a simple 1-keystroke alternative.
This commit is contained in:
parent
f958a318c1
commit
8c9afa8a91
|
@ -49,7 +49,7 @@ define-command -hidden json-trim-indent %{
|
||||||
define-command -hidden json-indent-on-char %<
|
define-command -hidden json-indent-on-char %<
|
||||||
evaluate-commands -draft -itersel %<
|
evaluate-commands -draft -itersel %<
|
||||||
# align closer token to its opener when alone on a line
|
# align closer token to its opener when alone on a line
|
||||||
try %< execute-keys -draft <a-h> <a-k> ^\h+[\]}]$ <ret> m s \A|.\z <ret> 1<a-&> >
|
try %< execute-keys -draft <a-h> <a-k> ^\h+[\]}]$ <ret> m <a-S> 1<a-&> >
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user