Introducing fuzzygui

Recently I started using the awesome fzf tool both from withing vim but also for other use cases (e.g. in combination with pass). If you haven’t used fuzzy search before, please try that. It will change the way you work for ever.

One simple example on how to use it with pass is the following function (just put it in your .bashrc):

# Fuzzy finder for pass manager (regex removes extensions ;) )
function fuzzypass {
  pushd ~/.password-store
  find * | fzf | sed 's/\(.*\)\..*/\1/' | xargs pass
  popd
}

While I’m waiting for my pinephone to arrive I started re-programming my mind for a phone without all the Android apps I’m used to (e.g. lastpass). A tool like fzf could be used for a number of solutions (see the project’s README for a couple of examples) but I would rather not start a terminal emulator every time I need to search for something. Although I don’t have a pine phone to give it a try yet, I went on and created a gui drop-in replacement for fzf anyway.

I initially considered extending fzf and opening a PR to add an optional gui to it but looking at the code, that proved to be harder than using a library that provides fuzzy search functionality to implement the tool from scratch. So I did exactly that. Thankfully sahilm/fuzzy provides a nice interface and did the job prefectly. The only thing I needed to do was to wire it with a gtk gui.

Version 0.3 is out, so give it a try and let me know what you think. I’m considering adding some command line options to control the size of the window and the number of listed results in the future releases so stay tuned!

Short CV
Studies
Applied Mathematics and Physics
Work
SUSE, testributor.com, incrediblue.com, skroutz.gr
Languages/Technologies
Golang, Ruby, Kubernetes, Containers, Linux
Toolset
Linux, MATE+i3, vim
Passions and Interests
Family, Programming, Sea, Music, Motorcycles