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

font size and multiple line entries hide the current selection (org refiling with ivy) #151

Closed
brabalan opened this issue Jun 18, 2015 · 4 comments

Comments

@brabalan
Copy link

When refiling an entry with ivy, it seems that the font size is not taken into account, so the selection is at the very bottom of the window:
screen shot 2015-06-18 at 09 44 01
The problematic part is when the lines are too long, they can span more than one line (probably because of font size) and the selection disappears:
screen shot 2015-06-18 at 09 43 16

This happens with the leuven theme. Is there a way to ensure the selection is in the middle of the window?

abo-abo added a commit that referenced this issue Jun 19, 2015
* ivy.el (ivy-minibuffer-grow): New command.
(ivy-minibuffer-shrink): New command.

* ivy-hydra.el (hydra-ivy): Bind "<" and ">".

Use "C-o >>>>>" to grow the minibuffer, and "C-o <<<<<" to shrink it.

Re #151
@abo-abo
Copy link
Owner

abo-abo commented Jun 19, 2015

I'm still looking into this, but for now I've added a way to increase the minibuffer height dynamically.

@brabalan
Copy link
Author

Thanks, this will be most useful.

abo-abo added a commit that referenced this issue Jun 23, 2015
colir.el (colir-blend-face-background): Try to find the face among the
properties.

Re #151
@abo-abo
Copy link
Owner

abo-abo commented Jun 23, 2015

Thanks, this should be fixed now. I've also fixed an issue regarding the selection not being highlighted.

@brabalan
Copy link
Author

I really like your solution. It works great, thanks!

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

No branches or pull requests

2 participants