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