Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force fzf-vim to pass nohidden option to --preview-window to override shell defaults #85

Open
illia-danko opened this issue Nov 14, 2021 · 0 comments

Comments

@illia-danko
Copy link

Checklist

mainstream the latest version

Summary of Problem

I pass --preview-window=hidden to export FZF_DEFAULT_OPTS somewhere on my bashrc. However, since fzf.vim (as a dependency library used by notation-fzf-vim) backed with the global FZF_DEFAULT_OPTS, it's no way with a current implementation to explicitly set --preview-window=nohidden to override the defaults when hidden is set.

@alok Do you consider to use nohidden value, eg. let s:show_preview = get(g:, 'nv_show_preview', 1) ? 'nohidden' : 'hidden' as a potential fix of the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant