diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 55e03da9f..5ca6e45d3 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -784,7 +784,18 @@ DATA = collections.OrderedDict([ KEY_FIRST_COMMENT = """ # vim: ft=conf # -# Bindings from a key(chain) to a command. +# In this config file, qutebrowser's keybindings are configured. +# The format looks like this: +# +# [keymode] +# +# command +# keychain +# keychain2 +# ... +# +# All blank lines and lines starting with '#' are ignored. +# Inline-comments are not permitted. # # For special keys (can't be part of a keychain), enclose them in `<`...`>`. # For modifiers, you can use either `-` or `+` as delimiters, and these names: @@ -855,7 +866,7 @@ KEY_DATA = collections.OrderedDict([ ('set-cmd-text ":open -b "', ['xo']), ('set-cmd-text ":open -b {url}"', ['xO']), ('open -t about:blank', ['ga']), - ('tab-close', ['d']), + ('tab-close', ['d', '']), ('tab-only', ['co']), ('tab-focus', ['T']), ('tab-move', ['gm']), @@ -864,7 +875,7 @@ KEY_DATA = collections.OrderedDict([ ('tab-next', ['J']), ('tab-prev', ['K']), ('reload', ['r']), - ('back', ['H']), + ('back', ['H', '']), ('forward', ['L']), ('hint', ['f']), ('hint all tab', ['F']), @@ -883,7 +894,7 @@ KEY_DATA = collections.OrderedDict([ ('scroll 0 50', ['j']), ('scroll 0 -50', ['k']), ('scroll 50 0', ['l']), - ('undo', ['u']), + ('undo', ['u', '']), ('scroll-perc 0', ['gg']), ('scroll-perc', ['G']), ('search-next', ['n']), @@ -917,8 +928,6 @@ KEY_DATA = collections.OrderedDict([ ('tab-focus last', ['']), ('enter-mode passthrough', ['']), ('quit', ['']), - ('undo', ['']), - ('tab-close', ['']), ('open -t about:blank', ['']), ('scroll-page 0 1', ['']), ('scroll-page 0 -1', ['']), @@ -933,7 +942,6 @@ KEY_DATA = collections.OrderedDict([ ('tab-focus 7', ['']), ('tab-focus 8', ['']), ('tab-focus 9', ['']), - ('back', ['']), ('home', ['']), ('stop', ['']), ('print', ['']),