Closed quicknir closed 1 day ago
It seems like fzf is not using the entire tmux popup, but I just can't explain why; I've tried a whole bunch of things but nothing seems to work. One observation - is there a reason why ftb-tmux-popup doesn't use fzf-tmux? Maybe it predates it? I think that would simplify this code a bit, and in general it's probably safer to just leave it to fzf to correctly handle running itself inside tmux.
Hmm, okay, I can run something as simple as tmux popup -x 0 -y 34 -w 84 -h 34 -d . "fzf"
and fzf is not taking the entire popup. Very odd.
Okay, this seems to be related to FZF_DEFAULT_OPTS. I had --height 40%
in there. When I remove that (and completely restart my shell, tmux, etc), the problem goes away. Unfortunately, I was reading the latest documentation (which says that fzf-tab does not use FZF_DEFAULT_OPTS at all, by default), but I installed the latest release, which does still use them. Upgrading to head of fzf-tab also solves my issue.
I'm going to close this. I think Aloxaf you made the right call in not using FZF_DEFAULT_OPTS at all; I had a comment in my zsh config that said "fzf-tab has a very complex relationship with FZF_DEFAULT_OPTS"; I think in the past I spent hours trying to sort issues relating to that and theming.
Thanks for everything!
Describe the bug
A clear and concise description of what the bug is.
I can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
git
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Environment:
Minimal zshrc