Skip to content

doronz88/xontrib-fzf-completions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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