Add stuff I like to ipython profile

This commit is contained in:
Dan Buch 2024-10-05 17:06:59 -04:00
parent b6c3430e20
commit 068dd457d8
Signed by: meatballhat
GPG Key ID: A12F782281063434

View File

@ -606,7 +606,7 @@ c = get_config() #noqa
# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a
# direct exit without any confirmation.
# Default: True
# c.TerminalInteractiveShell.confirm_exit = True
c.TerminalInteractiveShell.confirm_exit = False
# See also: InteractiveShell.debug
# c.TerminalInteractiveShell.debug = False
@ -632,7 +632,7 @@ c = get_config() #noqa
## Shortcut style to use at the prompt. 'vi' or 'emacs'.
# Default: 'emacs'
# c.TerminalInteractiveShell.editing_mode = 'emacs'
c.TerminalInteractiveShell.editing_mode = 'vi'
## Set the editor used by IPython (default to $EDITOR/vi/notepad).
# Default: 'vim'
@ -712,7 +712,7 @@ c = get_config() #noqa
## Cursor shape changes depending on vi mode: beam in vi insert mode, block in
# nav mode, underscore in replace mode.
# Default: True
# c.TerminalInteractiveShell.modal_cursor = True
c.TerminalInteractiveShell.modal_cursor = True
## Enable mouse support in the prompt (Note: prevents selecting text with the
# mouse)
@ -728,7 +728,7 @@ c = get_config() #noqa
## Display the current vi mode (when using vi editing mode).
# Default: True
# c.TerminalInteractiveShell.prompt_includes_vi_mode = True
c.TerminalInteractiveShell.prompt_includes_vi_mode = True
## The format for line numbering, will be passed `line` (int, 1 based) the
# current line number and `rel_line` the relative line number. for example to