From 4a5b9a68f6f81d37d431d2f6e6c3b06a9c6988a7 Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Sun, 18 Jun 2023 19:23:43 +0300 Subject: [PATCH] [~] Refactor --- dotfiles/.ipython/profile_default/ipython_config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/.ipython/profile_default/ipython_config.py b/dotfiles/.ipython/profile_default/ipython_config.py index b298bc9..77d7882 100644 --- a/dotfiles/.ipython/profile_default/ipython_config.py +++ b/dotfiles/.ipython/profile_default/ipython_config.py @@ -49,7 +49,7 @@ def ipython_update_shortcuts(): t4 = t3[0] t2.key_bindings.remove(t4.handler) t2.key_bindings.add( - 'e', filter=~prompt_toolkit.filters.vi_insert_mode, + '\\', 'e', filter=~prompt_toolkit.filters.vi_insert_mode, )( functools.partial( ipython_edit_in_vim, @@ -63,6 +63,8 @@ def ipython_update_shortcuts(): c.InteractiveShellApp.extensions = ['autoreload'] c.InteractiveShell.history_length = 100 * 1000 * 1000 c.InteractiveShell.history_load_length = 100 * 1000 * 1000 +c.InteractiveShell.enable_history_search = False +c.InteractiveShell.autosuggestions_provider = None c.InteractiveShell.pdb = True c.TerminalInteractiveShell.editing_mode = 'vi' c.TerminalInteractiveShell.modal_cursor = False