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