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

feat(fit-preview): optionally double comp_length when showing preview #445

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jimeh
Copy link

@jimeh jimeh commented May 21, 2024

Note: This was a 5 minute hack just to see if I could fix it, so more than happy to hear any feedback and change things as needed :)


When previews are enabled, they typically take up half the width of the popup. This adds an option to make it double the width when preview is enabled, hence ensuring that the full text of completion items are visible.

Screenshots

Before

With preview:

Screen-Shot-2024-05-21-01-42-29 03

Without preview:

Screen-Shot-2024-05-21-01-48-16 96

After

With preview:

Screen-Shot-2024-05-21-01-43-04 51

Without preview:

Screen-Shot-2024-05-21-01-47-20 60

@jimeh jimeh changed the title feat(fit-preview): optionally double comp_length if when showing preview feat(fit-preview): optionally double comp_length when showing preview May 21, 2024
When previews are enabled, they typically take up half the width of the
popup. This adds an option to make it double the width when preview is
enabled, hence ensuring that the full text of completion items are
visible.
@z0rc
Copy link

z0rc commented Oct 23, 2024

@Aloxaf ping. Currently ftb-tmux-popup isn't usable together with fzf-preview.

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

Successfully merging this pull request may close these issues.

2 participants