fzf search tool

Learn how to get things done via command line. Why use a graphical user interface when a command line interface can do many of the same tasks faster.
Post Reply
User avatar
thepenquin
Posts: 19
Joined: Fri Jan 17, 2020 8:35 pm
Location: UK

fzf search tool

Post by thepenquin » Sat Jan 25, 2020 10:21 am

fzf fuzzy finder on the terminal

Really neat tool

Takes a little getting used to but it narrows down your search as you type.

Has a file preview option as well

check here for more info https://www.freecodecamp.org/news/fzf-a ... e312403ff/
The Penquin

TayBN
Posts: 3
Joined: Fri Jan 24, 2020 10:31 am

Re: fzf search tool

Post by TayBN » Mon Jan 27, 2020 12:22 am

I have been trying to use fzf over the pass week just trying to get used to it, and find the most optimal keybindings using zsh and NVim

User avatar
DistroTube
Site Admin
Posts: 48
Joined: Thu Jan 02, 2020 1:12 am

Re: fzf search tool

Post by DistroTube » Mon Jan 27, 2020 3:59 pm

fzf is defnitely a standard when it comes to CLI productivity tools. I actually have never discussed fzf on any of my videos. Might be somethings I should show on camera at some point.

slacker_101
Posts: 11
Joined: Sun Jan 19, 2020 4:25 pm

Re: fzf search tool

Post by slacker_101 » Sun Feb 02, 2020 5:00 pm

You can do some really neat things with fzf. For instance, the fzf wiki has a shell function named cf that lets you fuzzily cd into a directory on your system. That alone is really nice.

User avatar
thepenquin
Posts: 19
Joined: Fri Jan 17, 2020 8:35 pm
Location: UK

Re: fzf search tool

Post by thepenquin » Sun Feb 02, 2020 11:08 pm

Strange on microwatt rt10 os fzf is not available

screenfetch
./+o+-
yyyyy- -yyyyyy+ OS: Ubuntu 16.04 xenial
://+//////-yyyyyyo Kernel: i686 Linux 4.4.0-171-generic
.++ .:/++++++/-.+sss/` Uptime: 13h 55m
.:++o: /++++++++/:--:/- Packages: 1780
o:+o+:++.`..```.-/oo+++++/ Shell: bash 4.3.48
.:+o:+o/. `+sssoo+/ Resolution: 1366x768
.++/+:+oo+o:` /sssooo. WM: i3
/+++//+:`oo+o /::--:. GTK Theme: Adwaita [GTK2/3]
\+/+o+++`o++o ++////. Icon Theme: Delta
.++.o+++oo+:` /dddhhh. Font: Sans 10
.+.o+oo:. `oddhhhh+ CPU: AMD E-300 APU with Radeon HD Graphics @ 1.3GHz
\+.++o+o``-````.:ohdhhhhh+ GPU: AMD/ATI Wrestler [Radeon HD 6310]
`:o+++ `ohhhhhhhhyo++os: RAM: 684MiB / 3637MiB
.o:`.syhhhhhhh/.oo++o`
/osyyyyyyo++ooo+++/
````` +oo+++o\:
`oo++.


sudo apt install fzf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package fzf

This is after update and upgrade

Any ideas?
The Penquin

User avatar
Max
Posts: 9
Joined: Tue Jan 07, 2020 8:02 pm

Re: fzf search tool

Post by Max » Tue Feb 04, 2020 2:54 pm

thepenquin wrote:
Sun Feb 02, 2020 11:08 pm
Any ideas?
After a quick search it seems that fzf wasn't added to Ubuntu's repos until 19.04.

User avatar
DistroTube
Site Admin
Posts: 48
Joined: Thu Jan 02, 2020 1:12 am

Re: fzf search tool

Post by DistroTube » Tue Feb 04, 2020 4:41 pm

If it isn't in the repos, then just git clone it:

Code: Select all

git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install

User avatar
thepenquin
Posts: 19
Joined: Fri Jan 17, 2020 8:35 pm
Location: UK

Re: fzf search tool

Post by thepenquin » Tue Feb 04, 2020 7:17 pm

Nice one
All installed now
Thank-you
The Penquin

Post Reply