overrides ipython's backwards search to use fzf
Project description
Add fzf-powered ctrl+r to ipython
Add fzf-powered ctrl+r to ipython. It's nice.
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
- https://stackoverflow.com/questions/48203949/backward-search-in-ipython-via-fzf
- https://github.com/anntzer/ipython-autoimport
TODO
- understand when prompt toolkit is not used in ipython
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ipython_ctrlr_fzf-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2fc83cc506be224bbfbccddc733c60a01ccdc748071fafaad75cdae48b38252 |
|
MD5 | 97158f4a87d6d49933e7f3dba859fb4d |
|
BLAKE2b-256 | 47e20310393562429277686e88408fa78d6ed60116bcad969f900068b6f32ec2 |