rajaravivarma-r / xontrib-fzf-widgets

Set of fzf widgets for xonsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FZF Widgets for Xonsh ======================

License

Pypi version

This extension will add some fzf widgets to your xonsh shell that you can bind and use as follows:

Current widgets

  • ssh: Search in /etc/ssh/ssh_config or ~/.ssh/config items and issue ssh command on the chosen item.
  • history insert Search in all history entries and insert the chosen command to the prompt.
  • find file Find one or more files in the current directory and its sub-directories.

How to use it

Install the package:

Enable it by adding fzf-widgets to your ~/.xonshrc file:

And set your desired keybindings for each widget in ~/.xonshrc file or set it to None to disable it:

You can find the names of various keys here in python-prompt-toolkit.

About

Set of fzf widgets for xonsh

License:GNU General Public License v3.0


Languages

Language:Python 100.0%