Skip to main content

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

  • understand when prompt toolkit is not used in ipython

Metadata

Release files for ipython-ctrlr-fzf 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipython-ctrlr-fzf 0.2.1
File Size Uploaded
ipython_ctrlr_fzf-0.2.1.tar.gz 2.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ipython-ctrlr-fzf 0.2.1
File Interpreter ABI Platform
ipython_ctrlr_fzf-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / ipython_ctrlr_fzf-0.2.1.tar.gz

Download URL ipython_ctrlr_fzf-0.2.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9370ba3aa06d7918e9a8d9a91e1f1e6fde84e9f45abff835c547c21ade10d276
BLAKE2b-256 checksum
How to use checksums
b4811e119d38f0ccd062c95c695ac0b21cfe5e0361bff6f4548a05664d792ea3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.4 Linux/6.2.0-1018-azure

Release files / ipython_ctrlr_fzf-0.2.1-py3-none-any.whl

Download URL ipython_ctrlr_fzf-0.2.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a9e8344b24e0b398f689800c886a10b15daa9089cdc68e96e808482b88145ee
BLAKE2b-256 checksum
How to use checksums
6b49494066dfc3bfd471263426a970aee4f2a23e69e32e542aba2c5ac1dc52bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.4 Linux/6.2.0-1018-azure

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page