FZF Will CHANGE How You Work

  Рет қаралды 34,791

DevOps Toolbox

DevOps Toolbox

Күн бұрын

FZF is useful in so many ways. It's one of my favorite tools, and it's simple yet genius.
LINKS
▶ fzf --preview 'bat --style=numbers --color=always {}'
▶ github.com/junegunn/fzf
▶ github.com/ggreer/the_silver_...
▶ github.com/BurntSushi/ripgrep
▶ github.com/omerxx/dotfiles
CONSIDER SUPPORTING THIS CHANNEL
If you feel like you want to support my work, feel free to use the links below or use my affiliate links for the gear I'm using to record.
Thanks!
👕 Cool Swag shop.omerxx.com
☕ Buy me a coffee: www.buymeacoffee.com/omerxx
🎷 60 day free Epidemic Music!: share.epidemicsound.com/w6zfxo
MY FAVOURITE GEAR
* If you enjoy my content, using the links below will help me with a small commission, so thank you!
⌨️ My keyboard is the wonderful HHKB: amzn.to/3HwJG60
🔗 The HHKB is wired with a high quality coiled cable: amzn.to/3DCA87d
⌨️ Backup keyboard (for traveling mainly) - Nuphy Air60: amzn.to/3R3M7jz
🖥️ My ultra wide 49" monitor: amzn.to/3JbVThC
🎙️ Microphone - Shure MV7X: amzn.to/3kA7tZZ
🦾 Boom Arm - amzn.to/3ZmQgln
🎤 Audio Interface (for XLR microphones) - Focusrite Scarlett Solo: amzn.to/3Z3fBkQ
🦾 Heavy Duty Monitor Arm: amzn.to/3kKp7tS
🖱️ Mouse - MX Master 3: amzn.to/3DiZmaj
📷 Camera - ZVE10: amzn.to/3I1jfVS
🎥 Lens - Sigma 1.4 16mm: amzn.to/3BfFN15
MY KEY LINKS
📰 Join my newsletter! newsletter.omerxx.com
🍿 Subscribe: www.youtube.com/@devopstoolbo...
👕 Store: omerxx.myspreadshop.com/
🌍 My website: omerxx.com
🗞️ Dev & Ops tools Telegram channel: t.me/espressops
🎙️ DevOps Topeaks Podcast: podcast.omerxx.com
⏱ Timestamps
00:00 - Intro
00:50 - How it works
01:48 - Searching history
02:48 - Switch directories
03:23 - Autocomplete trigger
03:52 - Zellij release!
04:25 - Integrating with ag
05:40 - More uses
05:58 - FZF in the wild
#productivity #fzf #UX #neovim #terminal #system #program #dev #devops #software #sysadmin #sysops #linux #terminal #console #cli #keyboard #commandline

Пікірлер: 64
@bassamsaleh8034
@bassamsaleh8034 6 ай бұрын
this is quality video. I use fzf daily but many things I didn't really know that's there. thank you
@devopstoolbox
@devopstoolbox 6 ай бұрын
Thank you buddy!
@redDuck757
@redDuck757 6 ай бұрын
Great tool. Thank you.
@diego898
@diego898 6 ай бұрын
The fzf+k8 part was especially awesome!
@devopstoolbox
@devopstoolbox 6 ай бұрын
I knew someone out there would appreciate 😅
@n0kodoko143
@n0kodoko143 6 ай бұрын
@abdelrahmandwedar
@abdelrahmandwedar Ай бұрын
Amazing tips 😅
@SB-qm5wg
@SB-qm5wg 6 ай бұрын
once you install it, you can't live without
@devopstoolbox
@devopstoolbox 6 ай бұрын
Very true
@wojciech-kulik
@wojciech-kulik 6 ай бұрын
What a cool video! I had no idea about all those possibilities with fzf! Thank you! Btw. I'm also using Moonlander :D
@devopstoolbox
@devopstoolbox 6 ай бұрын
Nice! Enjoying it?
@wojciech-kulik
@wojciech-kulik 6 ай бұрын
@@devopstoolbox Yes, split keyboards and column layout are the way to go! Plus the configurability is amazing
@devopstoolbox
@devopstoolbox 6 ай бұрын
@@wojciech-kulik NO DOUBT!
@huypham0081
@huypham0081 3 ай бұрын
that's amazing!!!!
@LG-yi2vh
@LG-yi2vh 3 ай бұрын
Cool video! But which keyboard do you use in this video? None of the keyboards in the links are like this
@devopstoolbox
@devopstoolbox 3 ай бұрын
Yeah sorry for that :) this is the ZSA Moonlander
@alexandrunechita3460
@alexandrunechita3460 6 ай бұрын
Hey, nice video on fzf. What keyboard are you using in this video?
@devopstoolbox
@devopstoolbox 6 ай бұрын
Thanks! ZSA Moonlander
@marksmith2540
@marksmith2540 6 ай бұрын
I like fuzzy finders but I'm happy enough without. One nice trick you can do on basically any POSIX system is to pipe the output of i.e. find into less and then use / and n to search. This lets you try a lot of different possibilities almost as quickly as with dedicated fuzzy finders.
@devopstoolbox
@devopstoolbox 6 ай бұрын
I’ll be just a little bit picky and say that reaching out to the / or ? For search is subpar compared to a fuzzy search which immediately responds both to text and deletion. That said, definitely a great workflow when running on remote systems! It doesn’t solve the filter issue when reading logs or large data sets though…
@EbonySeraphim
@EbonySeraphim 4 ай бұрын
This issue is keyboard layout dependent. I’ve switched to an ergonomic split keyboard with a curved key well, and hardly any keys are a stretch on the default layout. Super easy for me to optimize may layout and thumb cluster.
@chang112x
@chang112x 3 ай бұрын
This is a game changer
@devopstoolbox
@devopstoolbox 3 ай бұрын
It is! 😉
@PalashBackup
@PalashBackup 18 күн бұрын
Not gonna lie, the split keyboard with the screen in between looks apt for a linux video.
@elu1
@elu1 2 ай бұрын
Thanks for the teaching. One of my problems is that my ctrl-T ctr-R won't work after fzf install on Mac, Any suggestion?
@devopstoolbox
@devopstoolbox 2 ай бұрын
You might have missed a step or have conflicting configs: github.com/junegunn/fzf?tab=readme-ov-file#key-bindings-for-command-line Make sure you didn’t skip the integration: github.com/junegunn/fzf?tab=readme-ov-file#setting-up-shell-integration
@felipegutierrez2944
@felipegutierrez2944 6 ай бұрын
I love your channel! do you know how to copy and paste from Zellij like a pro? If I have to copy from the terminal i always have to do it outside from Zellij?
@devopstoolbox
@devopstoolbox 6 ай бұрын
Thank you! I think it’s a matter of the terminal and whether it interacts with your clipboard if that an issue. If you’re asking about the workflow - my go to (and most love feature) of Zellij is to dump the screen into vim from where I can change with ease and thank yank when I’m done!
@felipegutierrez2944
@felipegutierrez2944 6 ай бұрын
thanks I will try to dump the screen technique!@@devopstoolbox
@turanamo
@turanamo 3 ай бұрын
Start zellij by disabling mouse mode. zellij options --disable-mouse-mode Now you can just use your mouse to select and paste (shift+ins) as usual.
@walidashik
@walidashik 6 ай бұрын
Great video. How do you show your terminal over your video?
@devopstoolbox
@devopstoolbox 6 ай бұрын
Thanks! Lots of options, most commonly just layering them on top of each other while editting
@walidashik
@walidashik 6 ай бұрын
would love to watch video on your video making process. I guess lots of us want to watch that as well! great stuff as always man!!@@devopstoolbox
@devopstoolbox
@devopstoolbox 6 ай бұрын
Thanks buddy!@@walidashik
@aaronmcadam
@aaronmcadam 6 ай бұрын
Moonlander crew let’s go!!! Would you mind sharing your layout?
@devopstoolbox
@devopstoolbox 6 ай бұрын
Planning to! It's a bit of a mess ATM and very much not finalized but here it is - configure.zsa.io/moonlander/layouts/g9NK0/latest/0
@daddyDangle
@daddyDangle 6 ай бұрын
Still waiting for something like tmux-sessionizer in Zellij, otherwise ready to get oxidized
@devopstoolbox
@devopstoolbox 6 ай бұрын
In what way? The ability to create path based sessions?
@daddyDangle
@daddyDangle 6 ай бұрын
@@devopstoolbox the ability to index a folder, create path based sessions per repo, and jump between them with a telescope like interface
@GenkiTheMuffin
@GenkiTheMuffin 6 ай бұрын
great video. how'd you get option c to actually trigger the shortcu, on my machine (mbp 14inch) it types out this weird character ç.
@devopstoolbox
@devopstoolbox 6 ай бұрын
Hmmm I guess it can be a result of too many conflicting key maps (native os, things like karabiner / kb macros, language specifics etc). Best option is to remap is to something else
@wondrous9629
@wondrous9629 6 ай бұрын
I had the same issue, solved it by adding this to my .zshrc: bindkey "ç" fzf-cd-widget # option + c
@Rmp613
@Rmp613 15 күн бұрын
Thats due to the inherent mac keyboard layout. My understanding is you need to find and download one with no keys on the option layer and use that as your mac keyboard layout
@typingcat
@typingcat Күн бұрын
Sound effects too loud compared to the voice.
@samarnagar9699
@samarnagar9699 6 ай бұрын
It happened
@maguilecutty
@maguilecutty 6 ай бұрын
First comment from Germany haha
@devopstoolbox
@devopstoolbox 6 ай бұрын
🇩🇪
@pycontiki
@pycontiki 18 күн бұрын
Uber Alles 🙌🏼💯
@Vcshahriyer
@Vcshahriyer 6 ай бұрын
I think the command is typed wrong LINKS ▶ fzf --preview 'bar --style=numbers --color=always {}' it should be 'bat' not 'bar'.
@devopstoolbox
@devopstoolbox 6 ай бұрын
You're perfectly right!
@ayoubelmhamdi7920
@ayoubelmhamdi7920 6 ай бұрын
first comment from Gaza 🇵🇸 😁
@devopstoolbox
@devopstoolbox 6 ай бұрын
Wishing you a peaceful life
@devopstoolbox
@devopstoolbox 6 ай бұрын
@@user-sy5jh7rc6w very cool 😎 but this is a tech channel 😉
@pycontiki
@pycontiki 18 күн бұрын
Are you still alive?
@Andr0id88
@Andr0id88 3 ай бұрын
Loved the bit about fzf and rg, got inspired to create this that uses bat aswell so that you get a preview and when opened Nvim will automaticly jump to that line. Use this workflow every day inside nvim but never thought about making a tool for it to use from the CLI before i saw this- thank you very much! :) Here it is for those who want to try it, alias it to something and use it like rg\ag rg --line-number --no-heading --color=always "$@" | fzf --ansi --delimiter ':' --preview 'line={2}; start=$((line > 20 ? line - 20 : 1)); bat --style=numbers --color=always --line-range "$start:" --highlight-line {2} {1}' --preview-window=right:70%:wrap --phony -q "$(echo "$1" | sed "s/ /\\ /g")" --bind "enter:execute(nvim +{2} {1} < /dev/tty)" --multi
@devopstoolbox
@devopstoolbox 3 ай бұрын
Going to test this! Carefully crafted one liners always fascinate me for some reason 😂
@Andr0id88
@Andr0id88 3 ай бұрын
@@devopstoolbox What would be awsome if it had the possibility to live grep aswell with fzf. Im just a linux sysadmin and not a developer so that was abit over my skill level to figure out - for now atleast😅
Tmux From Scratch To BEAST MODE
12:44
DevOps Toolbox
Рет қаралды 92 М.
7 Essential Command Line Text Tools
14:01
DevOps Toolbox
Рет қаралды 12 М.
DELETE TOXICITY = 5 LEGENDARY STARR DROPS!
02:20
Brawl Stars
Рет қаралды 14 МЛН
Balloon Stepping Challenge: Barry Policeman Vs  Herobrine and His Friends
00:28
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 31 МЛН
#fzf - FuZzy Finder Tutorial
31:44
DevInsideYou
Рет қаралды 32 М.
Is Zellij the PERFECT Multiplexer? // Tmux Getting Dethroned!
13:06
DevOps Toolbox
Рет қаралды 33 М.
How Neovim saved me at least 30 minutes today
8:12
Rasmus Bergström
Рет қаралды 7 М.
7 Amazing CLI Tools You Need To Try
18:10
Josean Martinez
Рет қаралды 218 М.
7 Essential Command Line Tools (2022)
9:12
Tech Craft
Рет қаралды 192 М.
I Used ONLY A Keyboard For 30 Days - Here's What I Found!
8:23
DevOps Toolbox
Рет қаралды 9 М.
Git Better Than 95% of People
9:33
DevOps Toolbox
Рет қаралды 17 М.
What the hell is Zellij?
8:00
typecraft
Рет қаралды 57 М.
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 906 М.
Hidden FREE Mac Apps!
28:14
Snazzy Labs
Рет қаралды 159 М.
Девушка и AirPods Max 😳
0:59
ОТЛИЧНИКИ
Рет қаралды 14 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 4,8 МЛН
WWDC 2024 Recap: Is Apple Intelligence Legit?
18:23
Marques Brownlee
Рет қаралды 4,9 МЛН
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 9 МЛН
ВСЕ МОИ ТЕЛЕФОНЫ
14:31
DimaViper Live
Рет қаралды 62 М.