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

Ability to change max height of preview window #804

Open
ribru17 opened this issue Jun 5, 2023 · 2 comments
Open

Ability to change max height of preview window #804

ribru17 opened this issue Jun 5, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ribru17
Copy link

ribru17 commented Jun 5, 2023

Is your feature request related to a problem? Please describe.
I sometimes have large popups when running gs.blame_line { full = true } and it would be really nice to be able to limit the height of these popups so that I can just focus into them and scroll around without being too disoriented and being able to still see most of my original buffer.

Describe the solution you'd like
Maybe some sort of option in the setup to configure a maximum popup window height (preferred for greater flexibility), or for the preview windows to respect the pumheight option.

Describe alternatives you've considered
Just using gs.blame_line { full = false } but it's not the same :(

Additional context
None

@daedroza
Copy link

daedroza commented Dec 7, 2023

@ribru17 : How did you scroll the blame preview and navigate it?

@ribru17
Copy link
Author

ribru17 commented Dec 7, 2023

@daedroza Once you bring up the preview window, hit the same keys (that you brought it up with) again to jump into the window, then you can scroll it with e.g. <C-d>, and navigate it like a buffer

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

Successfully merging a pull request may close this issue.

2 participants