Show More
@@ -72,11 +72,11 b' def create_ipython_shortcuts(shell):' | |||||
72 | def ebivim(): |
|
72 | def ebivim(): | |
73 | return shell.emacs_bindings_in_vi_insert_mode |
|
73 | return shell.emacs_bindings_in_vi_insert_mode | |
74 |
|
74 | |||
75 | kb.add('escape', 'enter', filter=(has_focus(DEFAULT_BUFFER) |
|
75 | kb.add( | |
76 | & ~has_selection |
|
76 | "escape", | |
77 | & insert_mode |
|
77 | "enter", | |
78 | & ebivim |
|
78 | filter=(has_focus(DEFAULT_BUFFER) & ~has_selection & insert_mode & ebivim), | |
79 |
|
|
79 | )(reformat_and_execute) | |
80 |
|
80 | |||
81 | kb.add("c-\\")(quit) |
|
81 | kb.add("c-\\")(quit) | |
82 |
|
82 |
General Comments 0
You need to be logged in to leave comments.
Login now