V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
kevinhwang
V2EX  ›  Linux

体验用 tmux popup(floating) window 和 fzf 交互

  •  
  •   kevinhwang ·
    kevinhwang91 · Mar 29, 2020 · 4903 views
    This topic created in 2233 days ago, the information mentioned may be changed or developed.

    我期待已久的 popup 功能终于在 tmux 的 matser 分支上合并,以下是我写的一个简单脚本,欢迎体验。

    https://github.com/kevinhwang91/fzf-tmux-script/tree/master/popup

    此功能的详细信息目前在: https://github.com/tmux/tmux/issues/1842

    9 replies    2020-11-25 20:05:27 +08:00
    shutongxinq
        1
    shutongxinq  
       Mar 29, 2020 via iPhone
    这个有什么用啊
    kevinhwang
        2
    kevinhwang  
    OP
       Mar 29, 2020
    @shutongxinq 前期是你经常用 tmux 和 fzf 。当多窗口的时候就会切换窗口,而 fzf 某些时候需要 preview 或者数据很长,可以避免把 tmux 的窗口最大化来使用 fzf 。
    jemyzhang
        3
    jemyzhang  
       Mar 29, 2020
    好东西,nvim pop 很爽现在又有 tmux 了
    kevinhwang
        4
    kevinhwang  
    OP
       Mar 29, 2020
    @jemyzhang 很适合处理 fzf+大数据,fzf-tmux 这个脚本太伤眼了,堆积 layout,还小。
    shutongxinq
        5
    shutongxinq  
       Mar 29, 2020 via iPhone
    @kevinhwang 感谢解答!
    shutongxinq
        6
    shutongxinq  
       Mar 29, 2020
    @kevinhwang 看了你的动图,两者结合在一起有点 alfred 的感觉了。我一般都是直接新开一个窗口。感谢分享!
    palfortime
        7
    palfortime  
       Mar 29, 2020 via Android
    赞,看起来很吸引
    jemyzhang
        8
    jemyzhang  
       Mar 30, 2020 via Android
    @kevinhwang 得空试试,要拿最新的 tmux 吧。感谢付出
    fuse
        9
    fuse  
       Nov 25, 2020
    这个怎么用啊, 比如我现在开了一个 tmux, 应该输入什么, 出来一个 popup pane,
    tmux popup -R "ping meain.io"
    unknown command: popup
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   938 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 19:46 · PVG 03:46 · LAX 12:46 · JFK 15:46
    ♥ Do have faith in what you're doing.