Skip to main content

overrides ipython's backwards search to use fzf

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipython_ctrlr_fzf-0.2.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

ipython_ctrlr_fzf-0.2.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file ipython_ctrlr_fzf-0.2.1.tar.gz.

File metadata

  • Download URL: ipython_ctrlr_fzf-0.2.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.4 Linux/6.2.0-1018-azure

File hashes

Hashes for ipython_ctrlr_fzf-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9370ba3aa06d7918e9a8d9a91e1f1e6fde84e9f45abff835c547c21ade10d276
MD5 730330159e90532eb371ea51189d6b8e
BLAKE2b-256 b4811e119d38f0ccd062c95c695ac0b21cfe5e0361bff6f4548a05664d792ea3

See more details on using hashes here.

File details

Details for the file ipython_ctrlr_fzf-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ipython_ctrlr_fzf-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.4 Linux/6.2.0-1018-azure

File hashes

Hashes for ipython_ctrlr_fzf-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a9e8344b24e0b398f689800c886a10b15daa9089cdc68e96e808482b88145ee
MD5 a43d43ad8086998b0a0db6a2b29679a3
BLAKE2b-256 6b49494066dfc3bfd471263426a970aee4f2a23e69e32e542aba2c5ac1dc52bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page