Pensieve Books, Programming

IPython, Windows Terminal, Vi 키 바인딩

1. Install IPython with pip

PS > python3 --version
Python 3.9.5
PS > pip3 install ipython

2. Vi key bindings for IPython

PS > ipython profile create
PS > cd $env:USERPROFILE\.ipython/profile_default
PS > Get-Content .\ipython_config.py

...

PS > Add-Content -Path .\ipython_config.py -Value "c=get_config()"
PS > Add-Content -Path .\ipython_config.py -Value "c.TerminalInteractiveShell.editing_mode = 'vi'"

Show ChangeLog