-
Notifications
You must be signed in to change notification settings - Fork 24
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
No vertical compression #195
Comments
That sounds doable, but there are definitely some assumptions that would need to be turned into settings. I think code-minimap would be able to output the proper text by changing the vertical compression argument. Then we might need an autocmd to take care of automatically scrolling the minimal window to keep the section of the file we are in on screen. This isn't something I have a personal interest in adding, so I'll leave it to you. I'm more than happy to provide some help if you need it though. |
Thanks for the quick answer and for the indications. Indeed, if I set vscale to 1 here, I can get the minimap without vertical compression, but it's not well synchronized with the buffer. I'm not familiar with vim plugin writing, so I would be thankful if you have some additional leads to fix this. Otherwise, I'll continue investigating on my end |
Probably the best way to do this would be to hook into the existing autocmd functions that handle when the viewport into the buffer changes (window enter, window scroll, etc. ex: Some vim functions that look useful:
vim's built in |
Hi,
Is it possible to have an option to disable vertical compression in the minimap? That would mean that the minimap would show 4 times more lines that the ones on the screen instead of the whole file.
The text was updated successfully, but these errors were encountered: