diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 31ed75486..e8dbf91c4 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -530,7 +530,7 @@ Show help about a command or setting. [[hint]] === hint -Syntax: +:hint [*--mode* 'mode'] [*--add-history*] [*--rapid*] +Syntax: +:hint [*--mode* 'mode'] [*--add-history*] [*--rapid*] [*--first*] ['group'] ['target'] ['args' ['args' ...]]+ Start hinting. @@ -600,6 +600,7 @@ Start hinting. `tab` (with `tabs.background_tabs=true`), `tab-bg`, `window`, `run`, `hover`, `userscript` and `spawn`. +* +*-f*+, +*--first*+: Click the first hinted element without prompting. ==== note * This command does not split arguments after the last argument and handles quotes literally. diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 1e58ffa87..a7ebede3d 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -562,6 +562,7 @@ Default: * +pass:[gd]+: +pass:[download]+ * +pass:[gf]+: +pass:[view-source]+ * +pass:[gg]+: +pass:[scroll-to-perc 0]+ +* +pass:[gi]+: +pass:[hint inputs --first]+ * +pass:[gl]+: +pass:[tab-move -]+ * +pass:[gm]+: +pass:[tab-move]+ * +pass:[go]+: +pass:[set-cmd-text :open {url:pretty}]+ diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index 13078efe2..715a4a4db 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -636,8 +636,8 @@ class HintManager(QObject): `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. first: Click the first hinted element without prompting. + group: The element types to hint. - `all`: All clickable elements. - `links`: Only links.