Thursday | 28 MAR 2024
[ previous ]
[ next ]

Notes on Using fzf

Title:
Date: 2022-11-17
Tags:  

Extremely useful tool to search through the command history. I know it has some vim plugin but not sure what it does and I know it also works on directories but the command history stuff alone is very useful.

Installing fzf:

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

Then you can do Ctrl r to get a list of history that you can navigate with arrow keys and you also search them. I would love to add this to NSH. Maybe in the future.

This is also related to my infinite history notes as fzf is only great if you have enough history to search through.

https://nivethan.dev/devlog/infinite-bash-history.html