You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have FZF_TMUX=1 and FZF_TMUX_OPTS='-p60%,80%' set to be exported by my .zshrc. When those are set, the built-in FZF helpers like Alt-C, etc. will default to fzf-tmux instead of fzf. And by setting -p with a tmux version >= 3.2, it uses the popup windows instead of a split:
I don't know for sure what the root cause is here, but I'm guessing what's happening here is that forgit is hardcoded to use the fzf binary. It might be nice if forgit could detect FZF_TMUX or FZF_TMUX_OPTS, and if they're set it could behave like the built-in forgit extensions and default to fzf-tmux. This should be safe to do universally, as the fzf README states that fzf-tmux is smart enough to be well behaved if invoked outside of a tmux session:
It will still work even when you're not on tmux, silently ignoring -[pudlr] options, so you can invariably use fzf-tmux in your scripts.
The text was updated successfully, but these errors were encountered:
Check list
Environment info
Problem / Steps to reproduce
I have
FZF_TMUX=1
andFZF_TMUX_OPTS='-p60%,80%'
set to beexport
ed by my.zshrc
. When those are set, the built-in FZF helpers like Alt-C, etc. will default tofzf-tmux
instead offzf
. And by setting-p
with atmux
version >= 3.2, it uses the popup windows instead of a split:I don't know for sure what the root cause is here, but I'm guessing what's happening here is that
forgit
is hardcoded to use thefzf
binary. It might be nice ifforgit
could detectFZF_TMUX
orFZF_TMUX_OPTS
, and if they're set it could behave like the built-in forgit extensions and default tofzf-tmux
. This should be safe to do universally, as the fzf README states thatfzf-tmux
is smart enough to be well behaved if invoked outside of atmux
session:The text was updated successfully, but these errors were encountered: