Skip to content

Combine key and a command in run #1062

Closed Answered by gdh1995
limaceous-bushwhacker asked this question in Q&A
Discussion options

You must be logged in to vote

If you mean to "run a second command whatever result a first command returns (whether it succeeds or not)`, then you may:

# wrap a first command with `(` and `)`
run xxx (gg)cmd#arg1=value1

# or just use `?` and `:`
map yyy cmd arg1=value1
run xxx gg?yyy:yyy

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@limaceous-bushwhacker
Comment options

Answer selected by limaceous-bushwhacker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants