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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a9e8344b24e0b398f689800c886a10b15daa9089cdc68e96e808482b88145ee |
|
MD5 | a43d43ad8086998b0a0db6a2b29679a3 |
|
BLAKE2b-256 | 6b49494066dfc3bfd471263426a970aee4f2a23e69e32e542aba2c5ac1dc52bf |