From 134817bcfd00a3945a8b7281712d557a92ebd2d0 Mon Sep 17 00:00:00 2001 From: gzagatti Date: Tue, 18 Jun 2024 15:25:04 +0200 Subject: [PATCH] adds documentation, no matplotlib backend, use vi bindings in interactive shell in jupyter --- jupyter/jupyter_console_config.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jupyter/jupyter_console_config.py b/jupyter/jupyter_console_config.py index 5e59ae9..9b82add 100644 --- a/jupyter/jupyter_console_config.py +++ b/jupyter/jupyter_console_config.py @@ -1,4 +1,5 @@ # Configuration file for jupyter-console. +# see: https://jupyter-console.readthedocs.io/en/latest/config_options.html #------------------------------------------------------------------------------ # JupyterConsoleApp configuration @@ -15,9 +16,6 @@ # ZMQTerminalIPythonApp configuration #------------------------------------------------------------------------------ -# Configure matplotlib for interactive use with the default matplotlib backend. -c.InteractiveShellApp.matplotlib = 'tk' - # Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, # Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a # direct exit without any confirmation. @@ -38,6 +36,9 @@ # Shortcut style to use at the prompt. 'vi' or 'emacs'. c.ZMQTerminalInteractiveShell.editing_mode = 'vi' +# Add shortcuts from 'emacs' insert mode to 'vi' insert mode. +c.ZMQInteractiveShell.emacs_bindings_in_vi_insert_mode = True + # Whether to include output from clients other than this one sharing the same # kernel. #