V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
andyangyu
V2EX  ›  问与答

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

  •  
  •   andyangyu · 2017-07-03 22:22:54 +08:00 · 1933 次点击
    这是一个创建于 2460 天前的主题,其中的信息可能已经有所发展或是发生改变。

    配置文件有部分是复制粘贴的别人的, 所以对这些插件不怎么了解, 我只希望在 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'
    
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1544 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:03 · PVG 01:03 · LAX 10:03 · JFK 13:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.