Рет қаралды 60,235
In this quick 1-minute short, I progressively use fd and fzf to find and open a file in neovim. I slowly build up the command and create a zsh alias at the end.
Thanks to @JoshMedeski for the idea and inspiration of the #short
Final command…
fd --type f --hidden --exclude .git | fzf-tmux -p --reverse | xargs nvim
and the alias…
alias v='fd --type f --hidden --exclude .git | fzf-tmux -p --reverse | xargs nvim'