Hacker News new | ask | show | jobs
by aaren 3938 days ago
If you're going to store a lot of history, you might want something nicer than the standard ctrl-r to search it with.

[fzf] is ctrl-r on steroids.

[fzf]: https://github.com/junegunn/fzf

It's a fuzzy pattern matcher for your shell history (and lots more).

2 comments

I love all of these new Go tools for managing your *nix systems.

I started using Homemaker recently https://github.com/FooSoft/homemaker which is a very clean/lightweight replacement for GNU Stow, Homesick, and other dotfile managers. The Go versions of these utilities are always simple and single-purpose.

Modern developers are returning to building Unix style systems programs. Time is being spent on that instead of the usual bulky python scripts that have been popular recently or the million personal-productivity web apps people were creating.

fzf is cool, but I am used to

ctrl-r (find something) enter (execute) ctrl-r (find something I have to change) home/end (change, then enter)

with fzf ctrl-r and selecting always gives me just a string where I then have to press enter, it just behaves like dmenu for the console basically if you look at the bash bindings, which unfortunately is a bit less flexible unless I am missing some option that would allow this