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

position of the symbol in the preview window #55

Open
marconetto opened this issue Apr 6, 2020 · 2 comments
Open

position of the symbol in the preview window #55

marconetto opened this issue Apr 6, 2020 · 2 comments

Comments

@marconetto
Copy link

It seems the position of the symbol that is highlighted in the preview window is between first to third line. Is there a way to configure that or at least an option to make sure the highlighted symbol is in the middle of the space allocated to the preview text? Some times I would like to see some text on the above of the highlighted symbol...
image

@pechorin
Copy link
Owner

pechorin commented Apr 7, 2020

Hello, where are already g:any_jump_preview_lines_count, but this variables control only lines count after keyword. I will add new option for setting preview lines count before keyword.

@marconetto
Copy link
Author

Perhaps there could an option like g:any_jump_preview_centralize_symbol = 0|1. If 1, then the highlighted symbol gets centralized in the preview, that is the same number of lines is used above and below the highlighted symbol in the preview text area.

image

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

No branches or pull requests

2 participants