-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feature Request: set some sign inside the scrollbars #113
Comments
Is it possible to add a option of each sign to switch their mode between |
You can set it with |
Okay, thnks. And what's your opinion about
|
I think a priority feature may be handy, but I don't use mouse input that much to crave for the feature. For me the signs on the bar is more like a visual assistant rather than a regular nav tool. Obviously, sometimes I click on some signs if my hands are already on mouse, but I didn't trip on these breadcrumbs once, so that's it |
So do I. I think |
Ah, I didn't get your original idea correctly. I think this actually may be a handy addition and it will natively sit within plugin's configuration - this is also probably the most you can squeeze out of scrollbar customization, so implementing the addition is an obvious step. Vim and it's ecosystem was always about customizing and personalization 👍 I also think the feature spec (and original issue post) may need more refinement and conclusions, for example: the end-user may be required to configure same plugin thrice, and not everyone will be happy with that. Don't get me wrong, I'm not against any new additions and improvements :) |
Oh, my poor English skill's fault. Sorry, I don't get your point about I agree with your opinion about Thanks for your positive reply. Much appreciated 😀 |
I'm not a native neither, just a miscommunication :)
From my point of view, splitting sign container into 3 instances (left, right, middle) with prioritization will require in essence to at least set priority settings for each of 3 sign containers, something like this: {
"dstein64/nvim-scrollview",
opts = {
signs_on_startup = { "all" },
left = {
signs = {
{ "diff", priority = 3 },
{ "mark", priority = 4 },
},
column = 1,
},
right = {
signs = {
{ "bingus", priority = 2 },
{ "mark", priority = 5 },
},
column = 2,
},
middle = {
signs = {
{ "cursor", priority = 0 },
},
column = 1,
winblend = 34,
},
},
}, I think you can't just set a priority for each of sign independently and hope that it will work. Also, keep in mind that you may probably want to add your own signs == more configuration. From a "first-class customization support" perspective it's a great addition, from a "not-so-good at configuring" end-user it's a weirdness. I think this will definitely need a discussion or a brainstorm, if the maintainer/contributors didn't think about it properly already |
Your point of three instances is nice. I had never thought of it. If all things go following my original idea, it does need lots of configuration for user. Maybe we need wait for maintainer/contributors' idea/attitude |
When I try to migrate from
satellite.nvim
, I found that all signs ofscrollview
is in the left of scrollbars. However, some signs are inside the bar such asmark
cursor
in satellite, which provide a better outward and save some space.here is a comparison screenshot. The first one is
scrollview
and the other issatellite
At last, thanks for the awesome plugin.
The text was updated successfully, but these errors were encountered: