tmux开发配置

重载Tmux配置

bind r source-file ~/.tmux.conf ; display ‘Reload ~/.tmux.conf’

set -g prefix C-x
unbind C-b
bind C-x send-prefix

Pane跳转快捷键

bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

新Pane保持原来的目录,而不是跳转到HOME目录

bind % split-window -h -c ‘#{pane_current_path}’
bind ‘"’ split-window -v -c ‘#{pane_current_path}’

状态栏颜色

set -g status-fg white
set -g status-bg black

窗口列表颜色

setw -g window-status-fg cyan
setw -g window-status-bg default
setw -g window-status-attr dim

setw -g window-status-current-fg white
setw -g window-status-current-bg red
setw -g window-status-current-attr bright

TMUX消息提醒

set -g message-fg white
set -g message-bg black
set -g message-attr bright

set -g status-left-length 40
set -g status-left "#[fg=colour233,bg=colour12,bold] #h: #S #[fg=colour233,bg=yellow,bold] #I #[fg=colour233,bg=cyan,bold] #P "
set -g status-right '#[fg=colour233,bg=colour241,bold] %m/%d #[fg=colour233,bg=colour245,bold] %H:%M ’

消息栏字体使用UTF-8编码

set -g status-utf8 on

消息刷新时间为60s

set -g status-interval 3600

窗口列表居中

set -g status-justify centre

当其它Pane有消息的时候突出显示

setw -g monitor-activity on
set -g visual-activity on

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值