No video

Intro to fzf

  Рет қаралды 17,629

Andrew Courter

Andrew Courter

Күн бұрын

In this video I walk through an intro to the command line tool fzf, how you can utilize it and build more complex tools using it. This tool allows you to fuzzy find over just about anything.
fzf: github.com/jun...
curl command: gist.github.co...
Companion Article: / getting-started-with-f...
Join this channel to get access to perks:
www.youtube.co...
Twitter: / exosyphon
Website: andrewcourter.com
Twitch: / exosyphon
Gear:
Mic: amzn.to/40GUGFg
Mic Interface: amzn.to/3YGxaGE
Mic preamp: amzn.to/3XtBXtY
Webcam: amzn.to/3OEOZRU
Boom Arm: amzn.to/3qLr0GE
Vissles (VS II switches): vissles.com/?r... - Coupon Code for $5 off: ANDREWCOURTER
IQUNIX F97 (TTC ACE switches): iqunix.store/c...
Audo:
Karl Casey @ White Bat Audio
• Chill Synth / Synthwav...
0:00 Intro
0:35 fzf docs / overview
1:03 fzf command
1:41 selecting multiple files
2:12 fzf keybindings
3:00 nvim autocompletion
3:32 cd autocompletion
4:40 using find & fzf
5:56 curl & jq & fzf
8:22 Outro
#fzf #coding #programming

Пікірлер: 36
@ascourter
@ascourter Жыл бұрын
What have you done with fzf?
@NimlotSRV
@NimlotSRV 9 ай бұрын
Nothing, I swear! It wasn't me!!
@neymarsabin
@neymarsabin 6 ай бұрын
I run fzf from tmux to navigate to sessions, open new sessions per project if they don't exist. Wrote my own script on top of fzf and tmux to create new sessions in tmux using some keybindings I mapped to that script.
@ascourter
@ascourter 6 ай бұрын
@@neymarsabin very cool! Have you seen the tool sesh? Sounds similar github.com/joshmedeski/sesh
@neymarsabin
@neymarsabin 6 ай бұрын
@@ascourter looks promising, I need to try this. thanks.
@tttakkkumi
@tttakkkumi 2 ай бұрын
Dude how did you make your prompt like that? I use p10k but i haven’t found anything on how to make the arrow disappear and instead just have the colored text like you have here
@frustratedalien666
@frustratedalien666 Жыл бұрын
I am disappointed that your videos don't have more views. I've gone through a few and they are very well presented. I hope this changes soon. Cheers!
@ascourter
@ascourter Жыл бұрын
Thank you! Appreciate those kind words
@JoshMedeski
@JoshMedeski Жыл бұрын
fzf is one of my favorite cli tools, great intro!
@ascourter
@ascourter Жыл бұрын
Thanks Josh! I feel like I'm only scratching the surface. There are so many different ways to incorporate fzf into really cool command line tasks.
@whereistheline8964
@whereistheline8964 11 ай бұрын
I hope, your channel gets more views soon. I like your Style and your knowledge.
@ascourter
@ascourter 11 ай бұрын
Thank you!
@typecraft_dev
@typecraft_dev Жыл бұрын
Awesome video! Love fzf
@ascourter
@ascourter Жыл бұрын
Thanks! It's such a flexible and powerful tool. Trying to incorporate it into more of my workflow.
@greatwall2003
@greatwall2003 9 ай бұрын
Thanks, this got me started with fzf
@ascourter
@ascourter 9 ай бұрын
Glad it helped!
@N0Xa880iUL
@N0Xa880iUL 7 ай бұрын
What is that shell? Looks so cool. What are those details in the prompt? Do you have a configuration video? Thanks!
@ascourter
@ascourter 7 ай бұрын
The shell is zsh and the prompt is starship. starship.rs/ I don't have a setup video yet so I'll put that on my list. Thanks for watching!
@ascourter
@ascourter 7 ай бұрын
Don't forget to install a Nerd font to get those symbols. Check out this video from Elijah kzfaq.info/get/bejne/o7eUdcKcrd--nmw.html
@N0Xa880iUL
@N0Xa880iUL 7 ай бұрын
@@ascourter Thanks a lot. Cheers.
@rodelias9378
@rodelias9378 Жыл бұрын
Great video! Thanks a lot! Subscribing to this channel right now!
@ascourter
@ascourter Жыл бұрын
You're awesome! Thank you!
@proteusblack8913
@proteusblack8913 9 ай бұрын
I tried doing most of these things with fzf just as this video shows and most of it doesn't look anything or behave anyway like yours does.
@ascourter
@ascourter 9 ай бұрын
What system are you running on? What shell are you using? Did you run the second command to setup the shell functions?
@teamvigod
@teamvigod 5 ай бұрын
@@ascourter What is the second command? I didn't see it in the video. The "standard" shortcuts don't work for me. Running Ubuntu 22. Regular fzf stuff is working just no shortcuts.
@ascourter
@ascourter 5 ай бұрын
@@teamvigod I was assuming they were installing using homebrew so needed to run the brew install command as well as this command: $(brew --prefix)/opt/fzf/install Try running `apt show fzf` if the key bindings aren't working for ya
@teamvigod
@teamvigod 5 ай бұрын
@@ascourter Ok got some of it working. I installed the package using apt and apparently the maintainers don't have the key bindings in the package for ubuntu at this time. Older version I guess. I uninstalled the package and reinstalled it using latest from GIT. Now everything works except "cd **" for some reason. Bash complains too many arguments. Have not had a chance to troubleshoot
@ascourter
@ascourter 5 ай бұрын
@@teamvigod Nice! I haven't seen a "too many arguments" error before. Hope you can get it sorted
@EbonySeraphim
@EbonySeraphim 6 ай бұрын
This is a great intro guide; however your final "cool" example isn't terribly impressive or useful. jq + less could have done all of the heavy lifting to get at the data you needed. I actually don't think you properly searched for all data after 11 o'clock as that would have required numerical logic comparison -- something possible in jq, and wouldn't occur in a fuzzy text finder unless it was told to operate numerically for some part of the text.
@ascourter
@ascourter 6 ай бұрын
Thanks for watching, I think you are right and it didn't accurately search for times correctly. I have built a couple other useful tools with fzf and leveraged the fuzzy finding that I may make videos about in the future. Hopefully this is at least helpful as an example for someone to use.
Htmx? Yes, Htmx.
6:31
Andrew Courter
Рет қаралды 2,1 М.
Hacking with fd, fzf, fzf-tmux, and neovim  #Shorts
1:00
Elijah Manor
Рет қаралды 62 М.
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН
小蚂蚁被感动了!火影忍者 #佐助 #家庭
00:54
火影忍者一家
Рет қаралды 54 МЛН
Which is Better Flash.nvim OR Leap.nvim?
11:35
Andrew Courter
Рет қаралды 10 М.
7 Amazing CLI Tools You Need To Try
18:10
Josean Martinez
Рет қаралды 304 М.
The Amazing Interactive Command Line Fuzzy Finder (fzf)
17:06
DistroTube
Рет қаралды 47 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 252 М.
Vim Motions & Tricks I Wish I Learned Sooner
9:25
Henry Misc
Рет қаралды 14 М.
7 Essential Command Line Text Tools
14:01
DevOps Toolbox
Рет қаралды 13 М.
FZF Will CHANGE How You Work
9:30
DevOps Toolbox
Рет қаралды 44 М.
5 Command Line Tools That Boost Developer Productivity (2023)
8:02
#fzf - FuZzy Finder Tutorial
31:44
DevInsideYou
Рет қаралды 34 М.
Son ❤️ #shorts by Leisi Show
00:41
Leisi Show
Рет қаралды 10 МЛН