Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a few new features #170

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open

Added a few new features #170

wants to merge 29 commits into from

Conversation

leo-arch
Copy link

Hi @jhawthorn. First of all, great work! Simple, lightweight, hackable, and written in C.

Straight to the point. I added a few new features:

  • Multi-selection. There's a previous pull request for this, but was never merged.
  • Results/matches/window left padding
  • A few command line switches to modify standard TAB, left, and right arrow keys behavior
  • Cyclic scrolling (defaults to disabled)
  • Pointer and marker customization
  • Basic color support (it runs colored by default now, but you can disable colors via --no-color). Colors are customizable via a specific environment variable (FZY_COLORS).

I've tried to document all this in the manpage as detailed as possible.

I can guarantee it works. I'm using it myself as an alternative TAB completion mechanism (using the above features to perform the integration) for my file manager (CliFM): it supports readline's default completion, FZF, and now FZY.

Though still experimental, you can try it running CliFM (latest git version) with the --fzytab command line option (it will look for the fzy binary in PATH).

@data-man
Copy link

data-man commented May 6, 2022

@leo-arch
Thank you! I hope this PR will be accepted ASAP! :)

@shmup
Copy link

shmup commented Jul 18, 2022

Checking on the likelihood of this getting merged

@vaygr vaygr mentioned this pull request Jul 19, 2022
6 tasks
@vanopen
Copy link

vanopen commented Jun 6, 2023

Thanks for the extra features.
Could you please add cli option to output a different version infomation, so I could ditinguish your version from the original version? So I could implement different options in my scripts according to the version installed.

@data-man
Copy link

data-man commented Jun 6, 2023

Time to create a fork of fzy. Maybe fzy-ng? :)

@leo-arch
Copy link
Author

leo-arch commented Jun 6, 2023

Considering that there seems to be some real interest on these new features, it might be a good idea.

As to the name, what about fzx? Short and easy to type. I looked for fzz, but there's another project using this name. Or maybe fzs; it's available as well (it might stand for either fuzzy searcher or fuzzy seeker). fnf (recursive acronym for fnf's not fzy) could also be cool.

@data-man
Copy link

data-man commented Jun 6, 2023

fnf++

:)

@leo-arch
Copy link
Author

leo-arch commented Jun 6, 2023

Fnf has just been born: https://github.com/leo-arch/fnf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants