[qutebrowser] Regarding `count`

Emanuele Torre torreemanuele6 at gmail.com
Mon Oct 10 06:50:39 CEST 2022


On 09/10/2022, adam--- via qutebrowser
<qutebrowser at lists.qutebrowser.org> wrote:
> - 6ohttps://eff.org
> - 6:open https://eff.org

The `o' binding doesn't run a `open' command, and `:' does not either.

They run `:set-cmd-text -s :open' and `:set-cmd-text :' respectively.
(you can check with `:bind o' and `:bind :')

`:set-cmd-text' normally ignores the count, and the `:open' command you
run by pressing enter, will be run without a count.

If you run a binding that actually runs a `:open' command e.g.
 - the default `pp' binding that runs:  :open -- {clipboard}
 - a custom binding like:  :bind ;gn open https://gnu.org
with a count (e.g. `5pp' or `6;gn'), the value of count will be applied
as described in `:help :open'.

> - :6open https://eff.org

If you want to enter a command in the status bar prompt, and run it with
a count, you need to use the `:run-with-count' command:

  :run-with-count 6 open https://eff.org

Cheers,
  emanuele6


More information about the qutebrowser mailing list