How do paste on first input from normal mode? #8176
-
One thing I would like to be able to do with Qutebrowser is bind the Ctrl+V key in normal mode to an action to:
I have managed to achieve the first step by configuring this binding in the config file: Can anyone shed me a light on this matter? Thank you very much in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can separate commands with Thus, something like |
Beta Was this translation helpful? Give feedback.
You can separate commands with
;;
, and you can use eitherinsert-text -- {clipboard}
orfake-key <ctrl-v>
to paste. It looks like a short delay is needed to actually focus the field (as qutebrowser doesn't have a notation of a command being "done", they are basically fired in parallel).Thus, something like
hint inputs --first ;; cmd-later 10 insert-text -- {clipboard}
seems to work nicely.