https://github.com/iloveitaly/ipython-ctrlr-fzf
overrides ipython's backwards search to use fzf
https://github.com/iloveitaly/ipython-ctrlr-fzf
fzf ipython ipython-extension
Last synced: 15 days ago
JSON representation
overrides ipython's backwards search to use fzf
- Host: GitHub
- URL: https://github.com/iloveitaly/ipython-ctrlr-fzf
- Owner: iloveitaly
- Created: 2023-12-03T01:28:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-01T14:32:47.000Z (about 1 year ago)
- Last Synced: 2024-05-01T19:47:57.747Z (12 months ago)
- Topics: fzf, ipython, ipython-extension
- Language: Python
- Homepage: https://github.com/iloveitaly/ipython-ctrlr-fzf
- Size: 648 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Add fzf-powered ctrl+r to ipython
[](https://github.com/iloveitaly/ipython-ctrlr-fzf/releases) [](https://pepy.tech/project/ipython-ctrlr-fzf) [](https://pypi.org/project/ipython-ctrlr-fzf)  [](https://opensource.org/licenses/MIT)Add fzf-powered ctrl+r to ipython. It's nice.

## Installation
You must have fzf installed for this to work:
```bash
# macos
brew install fzf# linux
apt-get install fzf
```I'd also recommend installing [bat](https://github.com/sharkdp/bat) for syntax highlighting. It's detected and an advanced preview is shown when available.
Then, install the extension:
```bash
pip install ipython-ctrlr-fzf
```And in ipython, load the extension:
```shell
%load_ext ipython_ctrlr_fzf
```Alternatively, you can add the output of the following to your `ipython_config.py`:
```shell
python -m ipython_ctrlr_fzf
```## Inspiration
*
*## TODO
- [ ] understand when prompt toolkit is not used in ipython