overrides ipython's backwards search to use fzf
Add fzf-powered ctrl+r to ipython. It's nice.
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