diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index d7cb0c88e..2226ed5b5 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -21,6 +21,7 @@ Added ~~~~~ - New `{host}` replacement for tab- and window titles which evaluates to the current host. +- Add new default binding `;t` for `:hint input`. Changed ~~~~~~~ @@ -53,6 +54,7 @@ Added - New `hints -> find-implementation` to select which implementation (JS/Python) should be used to find hints on a page. The `javascript` implementation is better, but slower. +- New `inputs` group for `:hint` to hint text input fields. Changed ~~~~~~~ diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index fe1b1a67b..11706eac8 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -308,6 +308,7 @@ Start hinting. - `all`: All clickable elements. - `links`: Only links. - `images`: Only images. + - `inputs`: Only input fields. diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index e2fcf1c1b..4acdaad46 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -772,6 +772,7 @@ class HintManager(QObject): - `all`: All clickable elements. - `links`: Only links. - `images`: Only images. + - `inputs`: Only input fields. target: What to do with the selected element. diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 33c79c2ce..e936982e6 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -1472,6 +1472,7 @@ KEY_DATA = collections.OrderedDict([ ('hint --rapid links tab-bg', [';r']), ('hint --rapid links window', [';R']), ('hint links download', [';d']), + ('hint inputs', [';t']), ('scroll left', ['h']), ('scroll down', ['j']), ('scroll up', ['k']),