s/<normal>/<leave>/
This commit is contained in:
parent
d2dc0b7ac5
commit
0c15517352
@ -84,7 +84,7 @@ SECTION_DESC = {
|
|||||||
"supported in this mode.\n"
|
"supported in this mode.\n"
|
||||||
"In addition to the normal commands, the following special commands "
|
"In addition to the normal commands, the following special commands "
|
||||||
"are defined:\n"
|
"are defined:\n"
|
||||||
" <normal>: Switch back to normal mode."),
|
" <leave>: Leave the insert mode."),
|
||||||
'aliases': (
|
'aliases': (
|
||||||
"Aliases for commands.\n"
|
"Aliases for commands.\n"
|
||||||
"By default, no aliases are defined. Example which adds a new command "
|
"By default, no aliases are defined. Example which adds a new command "
|
||||||
@ -428,9 +428,9 @@ DATA = OrderedDict([
|
|||||||
)),
|
)),
|
||||||
|
|
||||||
('keybind.insert', sect.ValueList(
|
('keybind.insert', sect.ValueList(
|
||||||
types.KeyBindingName(), types.KeyBinding(['<normal>']),
|
types.KeyBindingName(), types.KeyBinding(['<leave>']),
|
||||||
('<Escape>', '<normal>'),
|
('<Escape>', '<leave>'),
|
||||||
('<Ctrl-C>', '<normal>'),
|
('<Ctrl-C>', '<leave>'),
|
||||||
)),
|
)),
|
||||||
|
|
||||||
('aliases', sect.ValueList(
|
('aliases', sect.ValueList(
|
||||||
|
@ -33,5 +33,5 @@ class InsertKeyParser(KeyParser):
|
|||||||
|
|
||||||
def execute(self, cmdstr, count=None):
|
def execute(self, cmdstr, count=None):
|
||||||
"""Handle a completed keychain."""
|
"""Handle a completed keychain."""
|
||||||
if cmdstr == '<normal>':
|
if cmdstr == '<leave>':
|
||||||
modes.leave("insert")
|
modes.leave("insert")
|
||||||
|
Loading…
Reference in New Issue
Block a user