Second part of my series about fzf: we'll dive into fzf actions, to create a nice file / directory manager. From there, you can customize everything you want to answer your own needs.
⌨ Follow along with these files: https://github.com/Phantas0s/mouseless-dev-youtube/tree/master/12_fzf
📙 Building Your Mouseless Development Environment: https://themouseless.dev
📑 Learning to Play Vim: https://themouseless.dev/vim
💎 Increase your value as a developer: https://thevaluable.dev
🐙 Github: https://github.com/Phantas0s
🍒 Support the channel: https://github.com/sponsors/Phantas0s
MISTAKE: at 17:15, I say that aborting fzf would close its subshells (in that case a subshell running Neovim). It's not true: closing the parent shell doesn't close a subshell. I just didn't hit the good keystroke in the video (hit ENTER instead of CTRL+n)... OOPS
Chapters:
00:00 - Introduction
01:18 - Listing directories with preview
02:45 - Exercise - How to cd in the directory chosen with fzf
03:35 - Avoiding problematic behaviors when hitting ESC
05:25 - Adding a number to each line for quick selection
10:00 - Using fzf actions - reloading fzf list with CTRL+r
14:13 - Exercise - Using the action execute, how to open every tex files in Vim by hitting CTRL+n while running fzf
16:12 - Chaining actions for a single keystroke
18:08 - Exercise - How to bind the delete key to delete a directory recursively in fzf?
23:08 - binding multiple keystrokes to actions
24:45 - The File Manager of Our Dream™ - Display files with CTRL+f, directories with CTRL+d, toggle preview with the "?", running nvim with whatever the cursor is on with CTRL+n, delete file or directory with the delete key
36:18 - What's next
37:09 - Farewell, and thank you for the fish