Skip to content

Combining commands in vimium://run #1058

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

You must be logged in to vote
  1. Yes it's # to seperate command name and its parameters in vimium://run.
  2. Sorry I didn't get what you want by check $s.

If you want to:

  • if query is not empty, then execute the composed command filled with query words
  • if query is empty, then do nothing

Then you may configure such a "custom search engine":

# “blank” is a special command meaning "to do nothing"
g: vimium://run/2g0+openUrl#reuse=current&#url=<URL-with-$s> blank=vimium://run/blank

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gdh1995
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