GithubHelp home page GithubHelp logo

Support `fzf-tmux` about extrakto HOT 6 CLOSED

liangkarl avatar liangkarl commented on August 22, 2024
Support `fzf-tmux`

from extrakto.

Comments (6)

laktak avatar laktak commented on August 22, 2024

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?

from extrakto.

liangkarl avatar liangkarl commented on August 22, 2024

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.

from extrakto.

liangkarl avatar liangkarl commented on August 22, 2024

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.

from extrakto.

laktak avatar laktak commented on August 22, 2024

In that case it is working as expected. Please use the popup window.

from extrakto.

liangkarl avatar liangkarl commented on August 22, 2024

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.

from extrakto.

laktak avatar laktak commented on August 22, 2024

vertical split has other drawbacks, that's why we switched to popups by default.

fzf doesn't want to do horz scrolling either junegunn/fzf#577

from extrakto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.