laloch / xontrib-fzf-widgets

Set of fzf widgets for xonsh
GNU General Public License v3.0
33 stars 18 forks source link

Add fzf-z widget #3

Open deeuu opened 4 years ago

deeuu commented 4 years ago

Hi,

Thanks for maintaining this xontrib, great to see the subprocess workaround for using fzf with xonsh!

This PR adds a new widget that searches the combination of (displayed in this order):

It is loosely based on the fzf-z plugin for zsh.

It might be too subjective, based on my needs, so let me know if you think the widget would be better served as a dedicated xontrib.

Will add to the readme if you think it would make a nice addition!

deeuu commented 4 years ago

Hey @laloch, have made a few updates, see what you think.

Notable changes:

deeuu commented 4 years ago

@laloch deciding to close for now as I want to consider a few additional features, e.g. auto-cd if the command buffer is empty when calling the widget.

laloch commented 4 years ago

You could have only turn this into a draft.