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

Disable preview window #12

Closed
ilango100 opened this issue Oct 19, 2023 · 1 comment
Closed

Disable preview window #12

ilango100 opened this issue Oct 19, 2023 · 1 comment

Comments

@ilango100
Copy link
Contributor

Is there a way to disable the preview window?
I haven't found anything in the documentation or the options.

I used to disable preview window in FZF using:

g:fzf_preview_window = []

Usually preview window is a useful feature, but sometimes there are some ftplugins that cause issues like chrisbra/csv.vim.
My preference is to disable it too, as I don't like unnecessary IO of reading a file when I've not decided to open it.

Thanks a lot for the plugin!

@Donaldttt
Copy link
Owner

Hi, I just add support for windows layout configuration. You can disable preview windows for commands by adding something like this let g:fuzzyy_window_layout = { 'FuzzyFiles': { 'preview': 0 } } in your vimrc (which will only disable the preview windows for FuzzyFiles command). More information is in the Readme. Let me know if you run into any bugs.

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

2 participants