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

Option to enable max size preview #55

Closed
ajitid opened this issue Feb 16, 2022 · 4 comments
Closed

Option to enable max size preview #55

ajitid opened this issue Feb 16, 2022 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@ajitid
Copy link
Contributor

ajitid commented Feb 16, 2022

Feature description

I quite like max-size preview as upon selecting an item, the cursor stays to that position.

anim-rg

Describe the solution you'd like

I would like a new option under opts.preview or, if possible, assigning a value to existing opts.preview.win_height that would make the preview full screen.

Additional context

Options I tried:

  • Addding
lua require"bqf.preview.handler".toggle_mode()

in after/ftplugin/qf.vim. Using this results in an error when qf is opened.

  • Right now, I have to manually press zp everytime I open qf list
@ajitid ajitid added the enhancement New feature or request label Feb 16, 2022
@kevinhwang91
Copy link
Owner

Have you tried changing the win_height = 999 in a setup table?

@ajitid
Copy link
Contributor Author

ajitid commented Feb 16, 2022

No I didn't. But only because I felt I would be abusing the API.

So I just tried and it works. Do we need to document it or should we close the issue?

@kevinhwang91 kevinhwang91 added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Feb 16, 2022
@ajitid
Copy link
Contributor Author

ajitid commented Feb 16, 2022

This plugin makes my experience on vim much much better. Thank you for working on it!

@kevinhwang91
Copy link
Owner

Enjoy!

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

No branches or pull requests

2 participants