I have a directory with a group of templates used for technical writing and shared with other people (they use it as part of a sublime package). Since I use nvim, I will often open a separate tmux pane, use :Files from fzf.vim to open the template, copy its content, and paste it into my buffer.
Alternatively, I can read :r from the template directory, but that doesn't come with a fuzzy search, making it hard to find the right file among hundreds of options. gotbletu's https://www.youtube.com/watch?v=Zew0mgJwAh8 would be a perfect solution, except that I can't add the tags on top of each template that his script requires (again, the templates are shared with other people).
I've tried to combine :r with fzf in a shell function, but so far nothing works. Any thoughts on how to get this done?
you may try putting something like the following in your init.vim
then just type :Go
if you really want to do this from the terminal then you'll want this in your bashrc/zshrc/...