##// END OF EJS Templates
reformat with darker
Matthias Bussonnier -
Show More
@@ -137,7 +137,8 b' class TerminalInteractiveShell(InteractiveShell):'
137 help="Shortcut style to use at the prompt. 'vi' or 'emacs'.",
137 help="Shortcut style to use at the prompt. 'vi' or 'emacs'.",
138 ).tag(config=True)
138 ).tag(config=True)
139
139
140 emacs_bindings_in_vi_insert_mode = Bool(True,
140 emacs_bindings_in_vi_insert_mode = Bool(
141 True,
141 help="Add shortcuts from 'emacs' insert mode to 'vi' insert mode.",
142 help="Add shortcuts from 'emacs' insert mode to 'vi' insert mode.",
142 ).tag(config=True)
143 ).tag(config=True)
143
144
@@ -90,9 +90,8 b' def create_ipython_shortcuts(shell):'
90 & ~cursor_in_leading_ws
90 & ~cursor_in_leading_ws
91 ))(display_completions_like_readline)
91 ))(display_completions_like_readline)
92
92
93 if sys.platform == 'win32':
93 if sys.platform == "win32":
94 kb.add('c-v', filter=(has_focus(DEFAULT_BUFFER) & ~vi_mode))(win_paste)
94 kb.add("c-v", filter=(has_focus(DEFAULT_BUFFER) & ~vi_mode))(win_paste)
95
96
95
97 @Condition
96 @Condition
98 def ebivim():
97 def ebivim():
General Comments 0
You need to be logged in to leave comments. Login now