mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 01:04:06 +08:00
opt tmux status
This commit is contained in:
parent
d902a70eda
commit
fb2a00672a
@ -1,15 +1,26 @@
|
||||
# 配置管理{{{
|
||||
set -g prefix C-s
|
||||
set -g history-file ~/.tmuxinfo
|
||||
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set -g renumber-windows on
|
||||
set -g allow-rename off
|
||||
|
||||
set -g display-time 5000
|
||||
set -g display-panes-time 5000
|
||||
set -g history-limit 1000
|
||||
set -g mode-keys vi
|
||||
|
||||
set -g allow-rename off
|
||||
set -g set-titles on
|
||||
set -g set-titles-string "#(whoami)@#(hostname)/#{session_name}:#{pane_current_command}"
|
||||
|
||||
set -g status-interval 1
|
||||
set -g status-left-length 200
|
||||
set -g status-left "#[bg=red][#H/#S:#{pane_current_command}]"
|
||||
set -g status-right "#[bg=red][#{cursor_y},#{cursor_x}]#{pane_current_path}[#(date '+%Y-%m-%d %H:%M:%S')]"
|
||||
set -g status-right-length 200
|
||||
|
||||
# }}}
|
||||
# 会话管理{{{
|
||||
bind s choose-tree -u
|
||||
|
Loading…
x
Reference in New Issue
Block a user