From 581fe0e7a7d9b7a91507a513ff6fcb1e7cc7869e Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Tue, 22 Apr 2025 12:56:17 +0200 Subject: [PATCH] ipython config --- ipython/ipython_config.py | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/ipython/ipython_config.py b/ipython/ipython_config.py index 6b502df..df7f999 100644 --- a/ipython/ipython_config.py +++ b/ipython/ipython_config.py @@ -1,26 +1,5 @@ -## Use colors for displaying information about objects. Because this information -# is passed through a pager (like 'less'), and some pagers get confused with -# color codes, this capability can be turned off. -# Default: True -c.InteractiveShell.color_info = True -c.InteractiveShell.separate_in = "" - -## Set the color scheme (NoColor, Neutral, Linux, or LightBG). -# c.InteractiveShell.colors = "Linux" -# c.TerminalInteractiveShell.colors = "Linux" - -## 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. +c.InteractiveShell.colors = "Linux" +c.TerminalInteractiveShell.colors = "Linux" c.TerminalInteractiveShell.confirm_exit = False - -## The name or class of a Pygments style to use for syntax highlighting. To see -# available styles, run `pygmentize -L styles`. -# Default: traitlets.Undefined -# c.TerminalInteractiveShell.highlighting_style = 'monokai' - -## Use 24bit colors instead of 256 colors in prompt highlighting. If your -# terminal supports true color, the following command should print 'TRUECOLOR' -# in orange: printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n" -# Default: False c.TerminalInteractiveShell.true_color = True +c.TerminalInteractiveShell.editing_mode="vi"