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