Closed liangkarl closed 6 months ago
extrakto uses popups, this keeps the zoom state the same:
tmux - popups require 3.2, otherwise extrakto will open in a split window.
Are you on an old tmux?
Uh, no...
I'm using tmux 3.3a
and 3.4
As you said, the popup window would not bother the zoomed window, but the split window did.
It's easy to reproduce that simply change the @extrakto_split_direction
between the two values in a zoomed window,
set -g @extrakto_split_direction 'v'
and
set -g @extrakto_split_direction 'p'
Also, if we try to use ls | fzf-tmux
in a zoomed window, fzf-tmux
would keep the zoom state.
I've tried to modify the script by removing the tmux window-splitting command and replacing fzf
with fzf-tmux
, but somehow tmux would become "no response" until I killed the fzf
process.
In that case it is working as expected. Please use the popup window.
Okay, got it. Actually, in my case, the popup window is too small to show a long file path picked up from some project compilation messages. Also, it doesn't look good to set the popup window to 100% width. That's why I switch to the vertical split window instead.
vertical split has other drawbacks, that's why we switched to popups by default.
fzf doesn't want to do horz scrolling either https://github.com/junegunn/fzf/issues/577
Hi Laktak,
I use this tool for a period of time. I have a window-spliting problem while using it in a zoomed window.
extrakto
would zoom out the window and split a new one to forfzf
, which always mess up the original layout and sometimes make me lose the focus point due to looking for the correct pane. Asfzf
already provide a small wrapper tool for tmux that isfzf-tmux
which has a better behaviour in this case without zoomed out the window and mess up the layout. Could you help to support it?Thanks!