Skip to main content

fzf completions for xonsh

Project description

xontrib-fzf-completions

The project is a more updated fork of https://github.com/shahinism/xontrib-fzf-widgets (Hopefully more responsive to PRs), providing fzf completions into your xonsh shell.

Installation

# Install the xontrib
xpip install -U xontrib-fzf-completions

# Load it
xpip load fzf-completions

Define the key-binding in your .xonshrc:

from xonsh.built_ins import XSH

XSH.env['fzf_history_binding'] = "c-r"  # Ctrl+R
XSH.env['fzf_ssh_binding'] = "c-s"  # Ctrl+S
XSH.env['fzf_file_binding'] = "c-t"  # Ctrl+T
XSH.env['fzf_dir_binding'] = "c-g"  # Ctrl+G

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

xontrib_fzf_completions-0.0.2.tar.gz (16.1 kB view hashes)

Uploaded Source

Built Distribution

xontrib_fzf_completions-0.0.2-py3-none-any.whl (14.9 kB view hashes)

Uploaded Python 3

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