Ability to disable preview by default
itsfrank opened this issue · 1 comments
itsfrank commented
Maybe this is possible and I missed it, but looking through the docs and the issues I could not find a solution.
I am trying to configure fzfx so that the initial state of the preview is off, however I still want alt-p
to toggle the preview on/off.
Ideally this is set globally, but if I have to configure it per-command that is ok.
itsfrank commented
Welp, about 5 more minutes of google searching I found my solution. In case anyone else is looking for this behavior, add this to fzf_opts
:
fzf_opts = {
-- rest of opts...
"--preview-window=hidden",
}