From 0c1551735249fa48bd9d692afcd5d4c9f6468f1a Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 24 Apr 2014 21:19:29 +0200 Subject: [PATCH] s/// --- qutebrowser/config/configdata.py | 8 ++++---- qutebrowser/keyinput/insertmode.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 9719fc207..725683860 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -84,7 +84,7 @@ SECTION_DESC = { "supported in this mode.\n" "In addition to the normal commands, the following special commands " "are defined:\n" - " : Switch back to normal mode."), + " : Leave the insert mode."), 'aliases': ( "Aliases for commands.\n" "By default, no aliases are defined. Example which adds a new command " @@ -428,9 +428,9 @@ DATA = OrderedDict([ )), ('keybind.insert', sect.ValueList( - types.KeyBindingName(), types.KeyBinding(['']), - ('', ''), - ('', ''), + types.KeyBindingName(), types.KeyBinding(['']), + ('', ''), + ('', ''), )), ('aliases', sect.ValueList( diff --git a/qutebrowser/keyinput/insertmode.py b/qutebrowser/keyinput/insertmode.py index fbeba0300..33191c53e 100644 --- a/qutebrowser/keyinput/insertmode.py +++ b/qutebrowser/keyinput/insertmode.py @@ -33,5 +33,5 @@ class InsertKeyParser(KeyParser): def execute(self, cmdstr, count=None): """Handle a completed keychain.""" - if cmdstr == '': + if cmdstr == '': modes.leave("insert")