Add stuff I like to ipython profile
This commit is contained in:
parent
b6c3430e20
commit
068dd457d8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user