From 456c854f06da4f8dcc5ef96024a8be1252bd77db Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 10 Nov 2017 10:23:16 +0100 Subject: [PATCH] Improve documentation for :hint --rapid --- doc/help/commands.asciidoc | 6 ++++-- qutebrowser/browser/hints.py | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 30aa7f954..b863659ec 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -493,8 +493,10 @@ Start hinting. ==== optional arguments -* +*-r*+, +*--rapid*+: Whether to do rapid hinting. This is only possible with targets `tab` (with `tabs.background_tabs=true`), `tab-bg`, - `window`, `run`, `hover`, `userscript` and `spawn`. +* +*-r*+, +*--rapid*+: Whether to do rapid hinting. With rapid hinting, the hint mode isn't left after a hint is followed, so you can easily open + multiple links. This is only possible with targets `tab` + (with `tabs.background_tabs=true`), `tab-bg`, `window`, + `run`, `hover`, `userscript` and `spawn`. * +*-m*+, +*--mode*+: The hinting mode to use. diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index 4312a7876..0505ed6ee 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -617,9 +617,11 @@ class HintManager(QObject): """Start hinting. Args: - rapid: Whether to do rapid hinting. This is only possible with - targets `tab` (with `tabs.background_tabs=true`), `tab-bg`, - `window`, `run`, `hover`, `userscript` and `spawn`. + rapid: Whether to do rapid hinting. With rapid hinting, the hint + mode isn't left after a hint is followed, so you can easily open + multiple links. This is only possible with targets `tab` + (with `tabs.background_tabs=true`), `tab-bg`, `window`, + `run`, `hover`, `userscript` and `spawn`. add_history: Whether to add the spawned or yanked link to the browsing history. group: The element types to hint.