Btw there is skim, a Rust fzf replacement that is in most repos!

  • Lunya \ she/it
    link
    fedilink
    84 months ago

    I used fzf like twice or so and I can’t live without fuzzy finding anymore.

  • @[email protected]
    link
    fedilink
    English
    84 months ago

    orderless achieves the same sort of thing in emacs, but I also use an fzf zsh alias to see my shell history all the time!

    alias hf="history -100 | fzf"

    • @[email protected]
      link
      fedilink
      English
      44 months ago

      Fzf has some scripts packaged for most shells that’ll replace ctrl-r reverse history search with this behavior

      • @Shareni
        link
        34 months ago

        They also add C-t and M-c for fuzzy finding files and CDing to a subdirectory

      • @[email protected]
        link
        fedilink
        English
        24 months ago

        Thank you for the reply! Just figured that out and its awesome! Love CTRL+T for file names and ALT+C for cding.

  • @Andy
    link
    64 months ago

    FWIW broot is a great fuzzy finding file tree tool that can be used similarly (much better for the task IMO), with a little configuration.

    • @[email protected]M
      link
      fedilink
      English
      2
      edit-2
      4 months ago

      That looks great … if only there were an easy fish plugin version of it ;)

      I’m currently using fzf.fish and it’s been great - my only complaint is that I can’t use it to jump to/insert a directory/file that’s outside of the current directory, but it seems like your solution with boot+zsh overcomes that limitation?

      • @Andy
        link
        24 months ago

        Yeah, since broot is a full featured file navigator and operator, you can get anywhere once it’s launched. I have alt+up bound to go up a directory, but there are other ways to get around as well.

        Broot supports fish out of the box, and you can use its default fish launcher function to change your folder (alt+enter quits broot then performs a cd) or insert a path (the broot command pp quits broot then prints the path, like fzf).

        I never learned fish scripting, but if anyone here has they may try to port my Zsh functions, especially to get path completion for partially typed paths. If you’re doing that and have questions about the broot config side of the equation, I’m happy to try to help.

  • THCDenton
    link
    fedilink
    34 months ago

    Been using fzf for years now. Great integration with vim and ranger.