Fix new keyconfig issues

This commit is contained in:
Florian Bruhin 2017-06-16 12:55:53 +02:00
parent 056edcfed3
commit f5d2c48bbb
2 changed files with 9 additions and 2 deletions

View File

@ -2055,7 +2055,7 @@ bindings.commands:
"[": move-to-start-of-prev-block
"}": move-to-end-of-next-block
"{": move-to-end-of-prev-block
0: move-to-start-of-line
"0": move-to-start-of-line
$: move-to-end-of-line
gg: move-to-start-of-document
G: move-to-end-of-document
@ -2067,11 +2067,13 @@ bindings.commands:
K: scroll up
L: scroll right
<Escape>: leave-mode
register:
<Escape>: leave-mode
type:
name: Dict
keytype: String # section name
fixed_keys: ['normal', 'insert', 'hint', 'passthrough', 'command',
'prompt', 'caret']
'prompt', 'caret', 'register']
valtype:
name: Dict
keytype: String # key
@ -2138,3 +2140,6 @@ bindings.commands:
* caret: Entered when pressing the `v` mode, used to select text using the
keyboard.
* register: Entered when qutebrowser is waiting for a register name/key for
commands like `:set-mark`.

View File

@ -23,6 +23,8 @@ import textwrap
import yaml
import pytest
# To run cmdutils.register decorators
from qutebrowser import app
from qutebrowser.config import configdata, configtypes
from qutebrowser.utils import usertypes