iloveitaly / ipython-ctrlr-fzf

overrides ipython's backwards search to use fzf
https://github.com/iloveitaly/ipython-ctrlr-fzf
4 stars 1 forks source link
fzf ipython ipython-extension

Add fzf-powered ctrl+r to ipython

Release Notes Downloads Python Versions GitHub CI Status License: MIT

Add fzf-powered ctrl+r to ipython. It's nice.

demo

Installation

You must have fzf installed for this to work:

# macos
brew install fzf

# linux
apt-get install fzf

I'd also recommend installing bat for syntax highlighting. It's detected and an advanced preview is shown when available.

Then, install the extension:

pip install ipython-ctrlr-fzf

And in ipython, load the extension:

%load_ext ipython_ctrlr_fzf

Alternatively, you can add the output of the following to your ipython_config.py:

python -m ipython_ctrlr_fzf

Inspiration

TODO