FZF Will CHANGE How You Work

  Рет қаралды 40,876

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

Пікірлер: 69
@bassamsaleh8034
@bassamsaleh8034 7 ай бұрын
this is quality video. I use fzf daily but many things I didn't really know that's there. thank you
@devopstoolbox
@devopstoolbox 7 ай бұрын
Thank you buddy!
@diego898
@diego898 7 ай бұрын
The fzf+k8 part was especially awesome!
@devopstoolbox
@devopstoolbox 7 ай бұрын
I knew someone out there would appreciate 😅
@redDuck757
@redDuck757 7 ай бұрын
Great tool. Thank you.
@n0kodoko143
@n0kodoko143 7 ай бұрын
@wojciech-kulik
@wojciech-kulik 7 ай бұрын
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 7 ай бұрын
Nice! Enjoying it?
@wojciech-kulik
@wojciech-kulik 7 ай бұрын
@@devopstoolbox Yes, split keyboards and column layout are the way to go! Plus the configurability is amazing
@devopstoolbox
@devopstoolbox 7 ай бұрын
@@wojciech-kulik NO DOUBT!
@LG-yi2vh
@LG-yi2vh 4 ай бұрын
Cool video! But which keyboard do you use in this video? None of the keyboards in the links are like this
@devopstoolbox
@devopstoolbox 4 ай бұрын
Yeah sorry for that :) this is the ZSA Moonlander
@huypham0081
@huypham0081 4 ай бұрын
that's amazing!!!!
@abdelrahmandwedar
@abdelrahmandwedar 3 ай бұрын
Amazing tips 😅
@alexandrunechita3460
@alexandrunechita3460 7 ай бұрын
Hey, nice video on fzf. What keyboard are you using in this video?
@devopstoolbox
@devopstoolbox 7 ай бұрын
Thanks! ZSA Moonlander
@elu1
@elu1 4 ай бұрын
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 4 ай бұрын
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
@marksmith2540
@marksmith2540 7 ай бұрын
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 7 ай бұрын
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 5 ай бұрын
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.
@SB-qm5wg
@SB-qm5wg 7 ай бұрын
once you install it, you can't live without
@devopstoolbox
@devopstoolbox 7 ай бұрын
Very true
@felipegutierrez2944
@felipegutierrez2944 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
thanks I will try to dump the screen technique!@@devopstoolbox
@turanamo
@turanamo 4 ай бұрын
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 7 ай бұрын
Great video. How do you show your terminal over your video?
@devopstoolbox
@devopstoolbox 7 ай бұрын
Thanks! Lots of options, most commonly just layering them on top of each other while editting
@walidashik
@walidashik 7 ай бұрын
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 7 ай бұрын
Thanks buddy!@@walidashik
@GenkiTheMuffin
@GenkiTheMuffin 7 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
I had the same issue, solved it by adding this to my .zshrc: bindkey "ç" fzf-cd-widget # option + c
@Rmp613
@Rmp613 Ай бұрын
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
@aaronmcadam
@aaronmcadam 7 ай бұрын
Moonlander crew let’s go!!! Would you mind sharing your layout?
@devopstoolbox
@devopstoolbox 7 ай бұрын
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
@chang112x
@chang112x 5 ай бұрын
This is a game changer
@devopstoolbox
@devopstoolbox 5 ай бұрын
It is! 😉
@daddyDangle
@daddyDangle 7 ай бұрын
Still waiting for something like tmux-sessionizer in Zellij, otherwise ready to get oxidized
@devopstoolbox
@devopstoolbox 7 ай бұрын
In what way? The ability to create path based sessions?
@daddyDangle
@daddyDangle 7 ай бұрын
@@devopstoolbox the ability to index a folder, create path based sessions per repo, and jump between them with a telescope like interface
@PalashBackup
@PalashBackup Ай бұрын
Not gonna lie, the split keyboard with the screen in between looks apt for a linux video.
@bingolio
@bingolio Ай бұрын
AUDIO TOO LOW
@typingcat
@typingcat Ай бұрын
Sound effects too loud compared to the voice.
@samarnagar9699
@samarnagar9699 7 ай бұрын
It happened
@slomellos
@slomellos 24 күн бұрын
This video is not sponsored by zelij ... Thank you for sponsoring? WTF just happened?
@devopstoolbox
@devopstoolbox 23 күн бұрын
LOL Zellij is not sponsoring anyone, it’s an open source project and it’s a “sponsorship” out of good will 🙃
@maguilecutty
@maguilecutty 7 ай бұрын
First comment from Germany haha
@devopstoolbox
@devopstoolbox 7 ай бұрын
🇩🇪
@pycontiki
@pycontiki Ай бұрын
Uber Alles 🙌🏼💯
@Vcshahriyer
@Vcshahriyer 7 ай бұрын
I think the command is typed wrong LINKS ▶ fzf --preview 'bar --style=numbers --color=always {}' it should be 'bat' not 'bar'.
@devopstoolbox
@devopstoolbox 7 ай бұрын
You're perfectly right!
@maskedvillainai
@maskedvillainai Ай бұрын
Or just install raycast and add the man pages plugin at root. Vim is dead man
@Andr0id88
@Andr0id88 4 ай бұрын
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 4 ай бұрын
Going to test this! Carefully crafted one liners always fascinate me for some reason 😂
@Andr0id88
@Andr0id88 4 ай бұрын
@@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😅
@ayoubelmhamdi7920
@ayoubelmhamdi7920 7 ай бұрын
first comment from Gaza 🇵🇸 😁
@devopstoolbox
@devopstoolbox 7 ай бұрын
Wishing you a peaceful life
@devopstoolbox
@devopstoolbox 7 ай бұрын
@@user-sy5jh7rc6w very cool 😎 but this is a tech channel 😉
@pycontiki
@pycontiki Ай бұрын
Are you still alive?
@teeew-fp2ty
@teeew-fp2ty 19 күн бұрын
I wish you democratic and humanistic values, freedom of expression, religious freedom and liberties.
7 Essential Command Line Tools (2022)
9:12
Tech Craft
Рет қаралды 201 М.
Tmux From Scratch To BEAST MODE
12:44
DevOps Toolbox
Рет қаралды 101 М.
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 104 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 17 МЛН
Is Zellij the PERFECT Multiplexer? // Tmux Getting Dethroned!
13:06
DevOps Toolbox
Рет қаралды 35 М.
What the hell is Zellij?
8:00
typecraft
Рет қаралды 64 М.
Which PLUGIN IS THE BEST for Neovim/Git? (PRACTICAL EXAMPLES included)
8:32
How NVIDIA just beat every other tech company
9:20
Mrwhosetheboss
Рет қаралды 1,1 МЛН
My Neovim & Tmux Terminal Dev Workflow As A Principal Engineer
9:22
DevOps Toolbox
Рет қаралды 40 М.
5 Command Line Tools That Boost Developer Productivity (2023)
8:02
Tmux has forever changed the way I write code.
13:30
Dreams of Code
Рет қаралды 937 М.
Hidden Tmux POWER: The Missing 50%
8:52
DevOps Toolbox
Рет қаралды 20 М.
Why Developers Are OBSESSED With Obsidian
11:26
Amichai Mantinband
Рет қаралды 43 М.
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
EXEED VX 2024: Не өзгерді?
9:06
Oljas Oqas
Рет қаралды 46 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,8 МЛН
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН