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

Shrink helm-candidate-separator #1790

Closed
Ambrevar opened this issue Jun 13, 2017 · 16 comments
Closed

Shrink helm-candidate-separator #1790

Ambrevar opened this issue Jun 13, 2017 · 16 comments
Assignees

Comments

@Ambrevar
Copy link
Member

Some commands like helm-show-kill-ring or helm-*-history use the helm-candidate-separator.
I suppose the purpose for having a separator is that entries might span over several lines.

The separator occupies about half the vertical space of the helm buffer. I'd rather save that, especially on <1080p screens.

Is it possible to shrink the line down to just a few pixel high?

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Jun 13, 2017 via email

@Ambrevar
Copy link
Member Author

Hmmm... Annoying.

Another suggestion: what about removing the separator and alternating the background color of the entries instead?

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Jun 14, 2017 via email

@Ambrevar
Copy link
Member Author

Maybe I could give it a try. Would you consider a PR then?

@xiongtx
Copy link
Member

xiongtx commented Jun 17, 2017

No need to ask to put up a PR; go for it! 👍

@Ambrevar
Copy link
Member Author

Depends: It's a waste to work on a PR if the maintainer won't accept it because he/she does not like the feature... ;)

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Jun 17, 2017 via email

@Ambrevar
Copy link
Member Author

I think the benefit is significant on small screens.
I was simply asking for confirmation. Very well, I'll see what I can do.

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Jun 17, 2017 via email

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Jun 18, 2017 via email

@Ambrevar
Copy link
Member Author

Thanks, I'll look into it.

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Jun 18, 2017 via email

@thierryvolpiatto
Copy link
Member

If one wants to implement this, he have to start with the "fix_multiline" branch and fix it first because it have some issues (make a PR on it), then implementing the alternate BG display is quite easy.
However (I tried) it's not as nice as multiline with separators, so it have to be implemented optionally.

@Ambrevar
Copy link
Member Author

What do you mean, "not as nice"?
It will save a lot of screen space, that's the big plus I can see there.

@thierryvolpiatto
Copy link
Member

thierryvolpiatto commented Jun 26, 2017 via email

@Ambrevar
Copy link
Member Author

Ambrevar commented Oct 6, 2017

At last, back to work! See #1888 for a first draft.

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

3 participants