laktak / extrakto

extrakto for tmux - quickly select, copy/insert/complete text without a mouse
MIT License
878 stars 45 forks source link

Feature Request: Use fzf-tmux instead of tmux popup #86

Closed kevintraver closed 2 years ago

kevintraver commented 2 years ago

When running fzf --layout=default inside tmux popup, the position of the fzf prompt at the bottom is incorrect

Example

$ tmux popup $ fzf --layout=default

Now compare that with the following:

$ fzf-tmux -p --layout=default

Which seems to work properly

I think switching to fzf-tmux would solve this layout issue with extrakto

Happy to help with a PR

kevintraver commented 2 years ago

Nevermind, figured out I had a configuration issue! Sorry about that!

kevintraver commented 2 years ago

The issue was that I had set export FZF_DEFAULT_OPTS="--reverse --height 60%"

To fix this I can just override the fzf height setting back to 100% for extrakto:

set -g @extrakto_fzf_tool 'fzf --height=100%'