mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
Get going on fzf
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
ddd4e0771a
commit
49e146bea4
22
content/posts/tools-of-the-trade-fzf.md
Normal file
22
content/posts/tools-of-the-trade-fzf.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
+++
|
||||||
|
categories = ["tools-of-the-trade"]
|
||||||
|
date = 2020-08-10
|
||||||
|
description = "Continuing this series, let's talk about fzf."
|
||||||
|
draft = true
|
||||||
|
slug = "tools-of-the-trade-fzf"
|
||||||
|
socialImage = "/uploads/tools-of-the-trade-fzf.webp"
|
||||||
|
tags = ["fzf", "cli-tools", "tools-of-the-trade"]
|
||||||
|
title = "Tools of the trade: fzf"
|
||||||
|
+++
|
||||||
|
|
||||||
|
In this second post, let's talk about [fzf](https://github.com/junegunn/fzf).
|
||||||
|
|
||||||
|
# What is fzf?
|
||||||
|
|
||||||
|
In its simplest form, `fzf` is a **f**u**zz**y **f**inder. It lets you search through files, folders, any line-based text using a simple fuzzy and/or regex backed system.
|
||||||
|
|
||||||
|
Usage can be very straightforward: just type `fzf`.
|
||||||
|
|
||||||
|
{{< asciinema zlWZPYualoELZxruMRIln9eZw >}}
|
||||||
|
|
||||||
|
By default, `fzf` is a full-screen tool and takes up the entire height of your terminal. I've restricted it to 40% of that, as it looks a bit nicer IMO. You can make more such changes by setting the `FZF_DEFAULT_OPTS` environment variable as described in the [layout section](https://github.com/junegunn/fzf#layout) of the fzf docs.
|
BIN
static/uploads/tools-of-the-trade-fzf.webp
Normal file
BIN
static/uploads/tools-of-the-trade-fzf.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.0 KiB |
Loading…
Reference in New Issue
Block a user