Add binding: ctrl-n -> leave_mode

This commit is contained in:
Florian Bruhin 2014-05-09 12:13:12 +02:00
parent f52f2f15a9
commit ee72d682ad
2 changed files with 3 additions and 4 deletions

3
TODO
View File

@ -365,9 +365,6 @@ Show and execute userscripts (command execute_userscript).
Other Other
----- -----
C-n
Enter normal mode.
[n]gc [n]gc
Clear tab n or of current tab, clears the history of the tab and loads about:blank. (command clear_tab, aliases: clear). Clear tab n or of current tab, clears the history of the tab and loads about:blank. (command clear_tab, aliases: clear).

View File

@ -628,6 +628,7 @@ DATA = OrderedDict([
('keybind.insert', sect.ValueList( ('keybind.insert', sect.ValueList(
types.KeyBindingName(), types.KeyBinding(), types.KeyBindingName(), types.KeyBinding(),
('<Escape>', 'leave_mode'), ('<Escape>', 'leave_mode'),
('<Ctrl-N>', 'leave_mode'),
('<Ctrl-E>', 'open_editor'), ('<Ctrl-E>', 'open_editor'),
)), )),
@ -635,7 +636,7 @@ DATA = OrderedDict([
types.KeyBindingName(), types.KeyBinding(), types.KeyBindingName(), types.KeyBinding(),
('<Return>', 'follow_hint'), ('<Return>', 'follow_hint'),
('<Escape>', 'leave_mode'), ('<Escape>', 'leave_mode'),
('<Ctrl-C>', 'leave_mode'), ('<Ctrl-N>', 'leave_mode'),
)), )),
('keybind.passthrough', sect.ValueList( ('keybind.passthrough', sect.ValueList(
@ -646,6 +647,7 @@ DATA = OrderedDict([
('keybind.command', sect.ValueList( ('keybind.command', sect.ValueList(
types.KeyBindingName(), types.KeyBinding(), types.KeyBindingName(), types.KeyBinding(),
('<Escape>', 'leave_mode'), ('<Escape>', 'leave_mode'),
('<Ctrl-N>', 'leave_mode'),
('<Up>', 'command_history_prev'), ('<Up>', 'command_history_prev'),
('<Down>', 'command_history_next'), ('<Down>', 'command_history_next'),
('<Shift-Tab>', 'completion_item_prev'), ('<Shift-Tab>', 'completion_item_prev'),