well... in this side of internet its actually a compliment lol 😂
@adnope5 ай бұрын
this is getting funnier and funnier lol
@catharsis76295 ай бұрын
You are one of the few devs who actually understands his tooling and is willing to take the time and effort required to properly learn them to make your workflow faster. More devs need to follow this mentality.
@ErickRodrCodes2 ай бұрын
I have been looking for this video FOR MONTHS.... good thing there is a way to check back the history of my views. Thanks!!!
@thecallumarnold5 ай бұрын
If you use the `--bind "enter:become(nvim {})"` flag then it will open the selected file(s) in nvim for you (without needing to prepend your command with `nivm ...`), which means that you can cancel out of the fzf finder without neovim from being entered. With the command listed, escaping fzf will still open nvim, which might not be what you want if you're trying to escape the search. For completeness, this is my alias. alias nf='fzf -m --preview="bat --color=always {}" --bind "enter:become(nvim {+})"'
@domjan38595 ай бұрын
I was having issues with your listed alias, it showed me STDIN where the bat preview should have been, probably a "me problem"... Anyways, I found a small fix for anyone encountering the same issue: alias nf='fzf -m --preview="bat --color=always {}" --bind "enter:become(nvim {})"' Difference is that fzf passes the file path to bat with the little '{}' after "bat --color=always ..."
@thecallumarnold5 ай бұрын
@@domjan3859 Thanks for pointing that out - that was an issue on my end. I've edited my comment to make it clear it needs `{}` in both parts!
@FredMny5 ай бұрын
Nice!! Thanks for this
@scottfollmer5 ай бұрын
For some reason with this alias, selecting multiple files didn’t work for me and only the last file selected was actually passed to nvim
@thecallumarnold4 ай бұрын
@@scottfollmer Good spot - I've edited the comment to add a `+` to the `enter...{+}` command that allows multiple files to be opened as separate bufferes
@tvntvn-b5 ай бұрын
unalias does not remove the alias from your .zshrc, it only removes it from the environment of the current session. When you open a new terminal or source your zshrc, the alias will be added again.
@typecraft_dev5 ай бұрын
yes that is correct. was just showing off the feature for FZF
@Fumbibi14 күн бұрын
I was about to ask if I had to resource the zshrc file and I now see that would actually re-alias it rather than completely unalias it. Thanks, friend!
@cbf3054 ай бұрын
Great video. It made me realize I've only scratched the surface of fzf's power. Would you consider doing a showcase video of your mechanical keyboards? Whatever you are typing on in this video sounds really good.
@bpbrainiak5 ай бұрын
thanks nerd, your video + coffee = great day
@typecraft_dev5 ай бұрын
hell yeah, just made coffee myself!
@phortheman5 ай бұрын
I use fzf every day for work. It’s probably the best CLI tool out there!
@gand0rfTRZ5 ай бұрын
Why do you keep giving us great weekend projects?? Thanks for showing us this. Now I can't wait to get home and install it.
@sledgex95 ай бұрын
For those of us stuck with bash (eg from git for windows) and don't have the zsh history autocomplete, fzf integrates with bash history. So hit CTRL+R and you'll be able to fuzzily find past commands you run. Very handy for me.
@TheBecke19835 ай бұрын
Sweet, now i got my day planned. Don't know how I missed this program
@typecraft_dev5 ай бұрын
Some of the stuff fzf gives (like kill -9 **) was unknown to me as well, even though I've been using fzf for a WHILE
@TheBecke19835 ай бұрын
@@typecraft_dev Kind of feels like that when using Linux tbh, learning new things constantly :)
@Cur10usly5 ай бұрын
Amazing tool! I should start using it
@adamkarafyllidis92645 ай бұрын
Also nice: 1. nvim Ctrl + t ( opens fzf. Of course works for any command ). 2. Ctrl + r opens shell command history
@Nitiiii115 ай бұрын
"Ctrl + r opens shell command history" Honestly I have no idea how anyone can use reverse-i-search after discovering this. 100x better on every level.
@debajyatidey94685 ай бұрын
Exactly always works like a charm
@keaneplayingmbae28525 ай бұрын
Never knew this w comment
@frydac5 ай бұрын
ctrl-r with fzf is the main reason I install fzf on every pc I touch (if I'm allowed to of course)
@QWEEKEN735 ай бұрын
That kill command looks insanely useful. Giving fzf a try!
@typecraft_dev5 ай бұрын
Regarding kill, just make sure you take a look at this article so you use kill safely! learn.typecraft.dev/tutorial/kill-choices/
@Kunal-k-u-m-a-r5 ай бұрын
i used it before but learned new things today i hadn't figured out earlier
@JakeLinux5 ай бұрын
Fzf is one of my favorite tools, I have a few videos covering it on my channel. I made videos showing how I use it to make my menus, my app launcher, I even made a terminal file manager out of it. Great tool.
@typecraft_dev5 ай бұрын
awesome!
@BalduinoFernando5 ай бұрын
Now, this is a really good trick!
@_Holy_Lance_5 ай бұрын
Thank you, Chris.
@typecraft_dev5 ай бұрын
My pleasure!
@japadkman5 ай бұрын
with fzf on my shell i can press ctrl+r then it will fuzzy find any commands on my bash history, i use it quite often
@typecraft_dev5 ай бұрын
yup! thats one of the best. I've used it so often I actually forgot about it for this video. lol
@imrafiel4012 ай бұрын
how you setup keyboard shortcuts for the terminal?
@japadkman2 ай бұрын
@@imrafiel401 I don't know, ctrl +r is a default shortcut in all terminals I have ever used
@steveb68173 ай бұрын
Nice! Ty for that tip!
@muslimgamerrr94795 ай бұрын
love the arch btw
@typecraft_dev5 ай бұрын
haha
@muslimgamerrr94795 ай бұрын
@@typecraft_dev cant live without btw thx so much for this video i had no idea how fzf works
@JonBrookes5 ай бұрын
fzf is very nice as is your video and guide. Thanks. I picked up some very useful things I hadn't used. I also use cntrl r in bash and search history that way which is kind of similar but where fsf is not present
@typecraft_dev5 ай бұрын
Yes FZF with history search is amazing I forgot to add it in this video!
@Pasty03862 ай бұрын
Awesome! Please a video for vim to properly share the vim clipboard with the system one. 😄
@anonlegion9096Ай бұрын
fzf is a god tier cli tool, hands down
@paulhammond85835 ай бұрын
I didn’t know about the ** stuff. Cheers for that!
@claudioonoue5 ай бұрын
0:42 The pacman frontend name almos killed me 🤣
@dolvur23 күн бұрын
Damn, didn't know about the ** which seems to send tab input into fzf. So convenient!
@QuOUseTERSEa5 ай бұрын
I think people should only use fzf when you need multi selections or “fuzzy” search. When you know what you’re searching, it doesn’t make sense to use fzf, since it’s much faster to use fd, grep, glob, etc. It slow down your process and just add an interface that make u feel fast 😂
@ludwig88415 ай бұрын
Quick tip for those who use fish shell ** will not work instead, just CTRL+T to get the same functionality you can find more information here github.com/junegunn/fzf?tab=readme-ov-file#fish-shell
@Stilllife19993 ай бұрын
** didn't work for me in zsh either
@maybehawk52055 ай бұрын
Thanks, Nerd
@apptimegr5 ай бұрын
Your videos are awesome! 👌
@typecraft_dev5 ай бұрын
You are awesome
@elnurbda5 ай бұрын
i did not know i need it. thanks O_O
@armaandhanji21125 ай бұрын
Amazing content. Subscribed!! By the way can you tell me where you got your desktop wallpaper from?
Wait, how did you know i was searching for this...
@olafschermann15924 ай бұрын
Awesome, thank you!
@bagfleet5 ай бұрын
Great vid!
@typecraft_dev5 ай бұрын
Thanks!
@taiy21813 ай бұрын
thanks for the inspiration
@timonjur5 ай бұрын
I actually have to change my terminal to Alacritty at some point, since Warp does not support fzf at the moment
@typecraft_dev5 ай бұрын
ah yes. warp kinda implements its own fuzzy find stuff.
@noopurp12319 күн бұрын
When I try to run kill -9 **, I get the old logs pasted on the screen instead of the interactive fzf prompt. What's with that? Am I missing something?
@sarkedev5 ай бұрын
0:34 it's not D-bien, it's Deb-Ian. It was created by Ian Murdock and named after his gf Debra (Deb for short, later ex-wife) and himself.
@typecraft_dev5 ай бұрын
I always mess it up! Great explanation I didn’t know that
@TheBendixSA5 ай бұрын
I'm still learning so feel free to flame but isn't yay used for the arch user repo? what is meant by calling it a front end for pacman then which is used for the Arch package repo? aren't they kind different tools to get packages from different places? (I do now yay is installed from pacman)
@thoric015 ай бұрын
This tool is almost as awesome as you
@typecraft_dev5 ай бұрын
awwwwwww
@kmuju11585 ай бұрын
Are you using i3 in this video? If so, how did you get the bar at the top of the terminal?
@typecraft_dev5 ай бұрын
Nah used gnome just for presentation
@kmuju11585 ай бұрын
@@typecraft_dev Yeh that makes sense. Great video, need to look more into integrating fzf into my workflow. Have you looked at the tmux-sessionizer script by primeagen? Its a great script that uses fzf to open a folder in tmux. Had to change part of it to work for me but dont remember exactly what was wrong.
@Kunal-k-u-m-a-r5 ай бұрын
can you make a video on best cli development lang or framworks
@djbessel5 ай бұрын
How do you feel about oh-my-zsh? Adding fzf means I just add it to my plugins list, instead of a list of actions cluttering my .zshrc for fzf, nvm, whatever.
@typecraft_dev5 ай бұрын
That’s a great approach as well
@benjaminschultz65015 ай бұрын
Take a shot every time he says, “Fuzzily findable.”
@Ramilkos5 ай бұрын
Instantly in love with how it works with shell history.
@baky53725 ай бұрын
I've seen people use this but never knew what it was called. Thanks so much for the great video!
@typecraft_dev5 ай бұрын
Glad you liked the video!
@tiagomello5 ай бұрын
Which keyboard are you using?
@typecraft_dev5 ай бұрын
Happy hacking keyboard Type S amzn.to/3C8iLwP
@channinghsu465 ай бұрын
Really enjoy every video of yours, thanks nerd!!
@typecraft_dev5 ай бұрын
Thank you, nerd!
@BrentMalice5 ай бұрын
lmao i went to ask for this yesterday but i got distracted. now its here. OPRAH WAS RIGHT IM MANIFESTING
@typecraft_dev5 ай бұрын
I always thank oprah
@zukxxxx05 ай бұрын
Can you upload setting up nix package manager, home manager and nix profile with flakes guide🙌🙌🙌🙌
@typecraft_dev5 ай бұрын
that is on the list. the looooonnng list :)
@ManpreetSingh-ox6hh5 ай бұрын
which theme you are using??
@typecraft_dev5 ай бұрын
catpuccin
@xbeast75853 ай бұрын
Thanks Man
@ypucandeleteit3 ай бұрын
the kill -9 ** command is sick! Anyone have an idea how i can get the ** stuff to work on fish shell?
@uoweme5grand4 ай бұрын
What keyboard are you using? Sounds like a topre
@typecraft_dev2 ай бұрын
Topre for sure - HHKB Type S - check it out amzn.to/3C8iLwP
@chri-k5 ай бұрын
alao make sure to use fd instead of find (it's like 6 times faster). fzf will automatically prefer fd if you have it installed
@urizen9594 ай бұрын
Hey man i hope you see this but i mistakenly deleted my zshconfig that had fzf setup and pipes output of other commands into fzf when i use the tab button without using the **.Could you make a video on that or your dotfiles would be better. Thank you
@APerson-jf2md5 ай бұрын
4:39 - that means you didn't checkout broot yet :)
@Lorne_at_work5 ай бұрын
fzf is awesome, but the latest stable version for Ubuntu is missing some of those cool features. I hope that changes soon. Or I guess I could always swap to Arch :D
@typecraft_dev5 ай бұрын
another reason for arch!!! lol
@dDesirie5 ай бұрын
So is it like Raycast or Alfred but for CLI? This is pretty cool!
@FranLegon5 ай бұрын
Pretty cool
@allenkim47765 ай бұрын
I was very appriciated for your neovim video. I want to use ftp-sync in neovim like vscode(sftp or ftp-simple), but I couldn't find out how to set for it. Please help us!
@netbin2 ай бұрын
How u return back from nvim back to fzf though?
@gh0stzk-dotfiles5 ай бұрын
Thanks nerd!! One question: What if i dont wanna write the ** to completion, i just wanna press tab as always? how i can do this?
@m0r4ag5 ай бұрын
Solo exporta esta variable de entorno: export FZF_COMPLETION_TRIGGER='' Lo probé antes de responder, no me pareció muy cómodo de usar
@gh0stzk-dotfiles5 ай бұрын
@@m0r4ag gracias voy a probar, quiero emular de manera "nativa" lo que hace fzf-tab-git qué se puede instalar desde aur, donde igual solo basta poner por ejemplo "cd " en vez de cd **
@samarth-kun5 ай бұрын
Hello again 👋🏻 Where can I get that background wallpaper it's so calming 😸
@obeyoutube5 ай бұрын
bomb diggity ❤
@typecraft_dev5 ай бұрын
boomshakalaka
@samuelgadiel5 ай бұрын
"I use arch, btw" - 0:28
@sumirandahal765 ай бұрын
Why did u left arch ?
@typecraft_dev5 ай бұрын
This video is recorded on arch
@sumirandahal765 ай бұрын
@@typecraft_dev in next video don't forgot to mention I use Arch , btw
@ispyu15145 ай бұрын
Next one on yazi?? 👀
@sp10sn5 ай бұрын
I don't lose stuff often enough for fuzzy find to be useful.
@typecraft_dev5 ай бұрын
fair enough
@ゾカリクゾ5 ай бұрын
chad dev
@ankushroy17295 ай бұрын
I use it to find old ffmpeg and one liner commands that might need some time and overhead.
@mathijswy5 ай бұрын
Even if you don't lose the files, isn't it a very fast way of navigating the file tree regardless?
@glidersuzuki55725 ай бұрын
It's not just to find lost stuff. It's to find stuff faster. When you multiple files in different locations or deeply nested directories, fzf makes it way easy to find them
@bzboii5 ай бұрын
what terminal emulator do you use
@LucasMahatokyRAMILISON5 ай бұрын
Hi,My laptop is a bit old by it works, Does it make my laptop slower,?
@agh0x015 ай бұрын
@6:55, why would you go straight to a `kill -9` - don't teach people bad habits! Use a normal kill (SIGTERM) first and give the process a chance to exit gracefully before reaching for the nuclear option.
@typecraft_dev5 ай бұрын
Haha I guess I have that bad habit too. Oops!
@typecraft_dev5 ай бұрын
For anyone reading this thread and want to know more, we cover this here learn.typecraft.dev/tutorial/kill-choices/
@agh0x015 ай бұрын
@@typecraft_dev thanks, nerd!
@danielwood47865 ай бұрын
Come on nerd. You missed the fzf history search. Ctrl+r in bash, probably something similar in Zsh
@typecraft_dev5 ай бұрын
ah yeah, I've used that for so long I forgot to include it in the video!
@programming81502 ай бұрын
Super usefull video
@Em0L0rd5 ай бұрын
Only if I had a penny for every time typecraft talked about fzf...
@highlander5765 ай бұрын
0:41 🏳🌈The gay package manager
@paultapping95105 ай бұрын
kill -9 ** is an incredible tip
@typecraft_dev5 ай бұрын
right? I love it!
@chrislee93445 ай бұрын
who needs all of that when you have `find`.
@TheBearmoth5 ай бұрын
Using it with a preview is new to me. Thanks for the awesome tip!
@typecraft_dev5 ай бұрын
yeah, big part of the reason I made the video. that was new to me as well!
@itzaryaanyt20035 ай бұрын
Someone tell me how to ignore specific files and folder while searching through fzf and how to add some specific files and folder to show in fzf , thanks
@typecraft_dev5 ай бұрын
Follow-up tutorial inbound!
@XxZeldaxXXxLinkxX5 ай бұрын
I swear I've seen a fzf video from this channel before?
@typecraft_dev5 ай бұрын
nope! this is the first one
@bojanstrkovski215 ай бұрын
it's could be part of a video i think it was one in the neovim series but awesome new comands to find things i've lost trough my pc yhanks nerd 😄
@kevin.michaels5 ай бұрын
Is it just me or did this video feel like it was going n 1.25x speed? Other than that, great vid :)
@falwickster5 ай бұрын
Preety cool
@typecraft_dev5 ай бұрын
you are
@ddthegr85 ай бұрын
linux for newbs 4 when
@typecraft_dev5 ай бұрын
what would you like to see in linux for newbs 4? I want to know!
@emiliocanton14945 ай бұрын
Your vim and tmux configs for productivity
@ddthegr85 ай бұрын
@@typecraft_dev I'd love to see a full arch + i3 + neovim setup from scratch, maybe live
@ispyu15145 ай бұрын
Day 4 of asking to make a video on how do you record and stream stuff on arch linux!
@typecraft_dev5 ай бұрын
the answer: I don't!
@ispyu15145 ай бұрын
@@typecraft_dev then how?
@typecraft_dev5 ай бұрын
@@ispyu1514 technically I can stream from arch pretty much out of box with OBS. But not all things are supported (like nvidia). So now I stream through a capture card on a PC
@ispyu15145 ай бұрын
@@typecraft_dev ohh but does ur obs on arch works with window capture or just screen capture?
@mrlectus5 ай бұрын
kill multiple program?
@glowing_flare5 ай бұрын
You're the most efficient dev and KZbin content creator I know! Keep it up man, you're awesome. 💪
@typecraft_dev5 ай бұрын
awesome, will do!
@berend1095 ай бұрын
For me I probably prefer ranger.
@adriansrfr5 ай бұрын
Yazi is better
@berend1095 ай бұрын
@@adriansrfr I don’t know that tool, wil look at it tonight.
@Krishtal35 ай бұрын
OMG
@Xaito4 ай бұрын
"I use Arch btw." Have a like, good sir.
@typecraft_dev4 ай бұрын
THANKS!
@laughingvampire75554 ай бұрын
making the shell more like emacs, just use emacs.
@shizeeque5 ай бұрын
here's like #172 for pronouncing "Zee/Zed Shell correctly". It's not "zeesh". 👌
@typecraft_dev5 ай бұрын
I think I say it both ways, lol. I'm sure I mis-pronounced "debian" in this video too haha. can't help it!
@imanav075 ай бұрын
someone can just use locate?
@qandak5 ай бұрын
Be careful using "cat" with huge files, it's not a pager!
@typecraft_dev5 ай бұрын
Good call
@BrianPeisley4 ай бұрын
For safety, you can limit the number of lines used for the preview. For cat you can limit the output with -n , and with bat you can limit it to a range of lines with -r, like bat -r :500 to get up to the first 500 lines