How can I run an external command and then run a Helix command when the external command exits? #12646
Unanswered
David-Else
asked this question in
Q&A
Replies: 2 comments
-
I'm hitting the same issue trying to run [keys.normal.","]
p = [
":update",
":run-shell-command pre-commit run --show-diff-on-failure --files '%{buffer_name}'",
":reload",
] |
Beta Was this translation helpful? Give feedback.
0 replies
-
#14166 (if accepted) could fix this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this shortcut:
but I need to run
reload-all
after it exits to update git gutters and git branch on the statusline.I can't run the following because apparently
:sh
is async andreload-all
is run right after the shell command is started:Can I somehow use a macro keybinding to overcome this problem, or some other cleverness I have not considered?
insert-output
does not work in my terminal Kitty.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions