I have been trying out FZF with Neovim. I installed it via a nvim plugin package manager. I have not installed it for the command line.
When trying to see file previews :FZF --preview="head -$LINES {}"
I get the following error: Unknown option $LINES
.
It seems that Zshell doesn't like anything I add between the double-quotes e.g.: head -n 10
and will throw an error.
Is this possible from Vim without the FZF command line?
Thanks in advance for your time and help.
fzf.vim depends on the basic Vim plugin of the main fzf repository, which means you need to set up both "fzf" and "fzf.vim" on Vim.
So I never used fzf but I think you won't do much if you don't have fzf installed. Also how did you defined$LINES
?FZF
is a command from basic fzf Vim plugin, not thefzf.vim
extension plugin