andyangyu
V2EX  ›  问与答

tmux 里面鼠标滚轮往上滚动会自动跳转到最底部?

  •  
  •   andyangyu · Jul 3, 2017 · 2535 views
    This topic created in 3235 days ago, the information mentioned may be changed or developed.

    配置文件有部分是复制粘贴的别人的, 所以对这些插件不怎么了解, 我只希望在 tmux 里能滚动鼠标和复制同时使用. 不知道哪里出了问题, 请大佬们指点.

    set-option -g @plugin 'tmux-plugins/tpm'
    set-option -g @plugin 'tmux-plugins/tmux-sensible'
    set-option -g @plugin 'Treri/tmux-custom-config'
    set-option -g @plugin 'tmux-plugins/tmux-pain-control'
    set-option -g @plugin 'tmux-plugins/tmux-prefix-highlight'
    set-option -g @plugin 'tmux-plugins/tmux-copycat'
    set-option -g @plugin 'tmux-plugins/tmux-yank'
    set-option -g @shell_mode 'vi'
    set-option -g @plugin 'NHDaly/tmux-better-mouse-mode'
    set-option -g @scroll-speed-num-lines-per-scroll "1"
    set -g status-fg white
    set -g status-bg black
    set -g status-justify centre # center align window list
    set -g status-left-length 20
    set -g status-right-length 140
    set -g status-left '#[fg=green]#H #[fg=black]• #[fg=green,bright]#(uname -r | cut -c 1-6)#[default]'
    set -g status-right '#[fg=green,bg=default,bright]#(tmux-mem-cpu-load) #[fg=red,dim,bg=default]#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") #[fg=white,bg=default]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d'
    run-shell '~/.tmux/plugins/tpm/tpm'
    
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5734 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 01:44 · PVG 09:44 · LAX 18:44 · JFK 21:44
    ♥ Do have faith in what you're doing.