Merge branch 'docs' of https://github.com/lucc/qutebrowser into lucc-docs

This commit is contained in:
Florian Bruhin 2017-02-05 00:07:36 +01:00
commit 0a0aa57754
5 changed files with 8 additions and 5 deletions

View File

@ -234,6 +234,7 @@ Contributors, sorted by the number of commits in descending order:
* Regina Hug
* Mathias Fussenegger
* Marcelo Santos
* Lucas Hoffmann
* Joel Bradshaw
* Jean-Louis Fuchs
* Franz Fellner

View File

@ -84,7 +84,7 @@ It is possible to run or bind multiple commands by separating them with `;;`.
|<<tab-prev,tab-prev>>|Switch to the previous tab, or switch [count] tabs back.
|<<unbind,unbind>>|Unbind a keychain.
|<<undo,undo>>|Re-open a closed tab (optionally skipping [count] closed tabs).
|<<view-source,view-source>>|Show the source of the current page.
|<<view-source,view-source>>|Show the source of the current page in a new tab.
|<<window-only,window-only>>|Close all windows except for the current one.
|<<wq,wq>>|Save open pages and quit.
|<<yank,yank>>|Yank something to the clipboard or primary selection.
@ -898,7 +898,7 @@ Re-open a closed tab (optionally skipping [count] closed tabs).
[[view-source]]
=== view-source
Show the source of the current page.
Show the source of the current page in a new tab.
[[window-only]]
=== window-only

View File

@ -1666,7 +1666,7 @@ Mode to use for hints.
Valid values:
* +number+: Use numeric hints.
* +number+: Use numeric hints. (In this mode you can also type letters form the hinted element to filter and reduce the number of elements that are hinted.)
* +letter+: Use the chars in the hints -> chars setting.
* +word+: Use hints words based on the html elements and the extra words.

View File

@ -1349,7 +1349,7 @@ class CommandDispatcher:
@cmdutils.register(instance='command-dispatcher', scope='window')
def view_source(self):
"""Show the source of the current page."""
"""Show the source of the current page in a new tab."""
# pylint: disable=no-member
# WORKAROUND for https://bitbucket.org/logilab/pylint/issue/491/
tab = self._current_widget()

View File

@ -937,7 +937,9 @@ def data(readonly=False):
('mode',
SettingValue(typ.String(
valid_values=typ.ValidValues(
('number', "Use numeric hints."),
('number', "Use numeric hints. (In this mode you can "
"also type letters form the hinted element to filter "
"and reduce the number of elements that are hinted.)"),
('letter', "Use the chars in the hints -> "
"chars setting."),
('word', "Use hints words based on the html "