When I press 'Enter' on a file in the list it does not open but the name and path is printed in the terminal. I'm running fzf by typing fzf and hitting enter. Ideally I'd like to open text files in neovim.
fzf is designed to be a 'Unix filter' meaning it reads from stdin and prints to stdout. If no stdin pipe is provided, it lists files from the current directory as a useful default.
To specialise the behaviour, you can write a short shell script or alias. For example:
alias v='nvim $(fzf)'
See the 'Usage' section of the README and the wiki for many more interesting examples.
@mjwestcott Thanks :)
Thanks @mjwestcott @junegunn Apologies for clogging up the issues, will check the 'Usage' section.
Most helpful comment
fzf is designed to be a 'Unix filter' meaning it reads from stdin and prints to stdout. If no stdin pipe is provided, it lists files from the current directory as a useful default.
To specialise the behaviour, you can write a short shell script or alias. For example:
alias v='nvim $(fzf)'See the 'Usage' section of the README and the wiki for many more interesting examples.