update
This commit is contained in:
parent
cfad118188
commit
5495df3ffd
18
tmux.conf
18
tmux.conf
@ -4,8 +4,8 @@ set -g status-justify centre
|
||||
set -g status-interval 30
|
||||
set -g status-left-length 40
|
||||
set -g status-right-length 40
|
||||
set -g status-left '[#{b:socket_path}@#h:#S/#(tmux -L #{b:socket_path} ls|wc -l)] '
|
||||
set -g status-right ' [#(date +"%F %u %R")]'
|
||||
set -g status-left '[#{b:socket_path}@#h:#S] '
|
||||
set -g status-right ' [%F %u %R]'
|
||||
|
||||
# terminal
|
||||
set -g default-terminal "xterm-256color"
|
||||
@ -20,15 +20,18 @@ set -g mouse off
|
||||
#bind M-x kill-session
|
||||
|
||||
# window
|
||||
set -g window-status-format '#I:#(echo "#T"|cut -d: -f1)#F'
|
||||
set -g window-status-current-format '#I:#(echo "#T"|cut -d: -f1)#F'
|
||||
set -g window-status-format '#I:#{window_panes}:#(echo "#T"|cut -d: -f1):#F'
|
||||
set -g window-status-current-format '#I:#{window_panes}:#(echo "#T"|cut -d: -f1):#F'
|
||||
set -g window-status-current-style fg=yellow
|
||||
bind s split-window -v
|
||||
bind C-s split-window -v
|
||||
bind v split-window -h
|
||||
bind C-v split-window -h
|
||||
bind n next-window
|
||||
bind C-n previous-window
|
||||
bind c new-window
|
||||
#bind C-x kill-window
|
||||
bind C-c new-window
|
||||
#bind M-x kill-window
|
||||
|
||||
# pane
|
||||
#set -g pane-border-status top
|
||||
@ -42,12 +45,13 @@ bind -r C-k resize-pane -U 1
|
||||
bind -r C-j resize-pane -D 1
|
||||
bind -r C-h resize-pane -L 1
|
||||
bind -r C-l resize-pane -R 1
|
||||
#bind x kill-pane
|
||||
bind x resize-pane -Z
|
||||
bind C-x resize-pane -Z
|
||||
bind z resize-pane -Z
|
||||
bind C-z resize-pane -Z
|
||||
bind C-s set synchronize-panes
|
||||
bind a set synchronize-panes
|
||||
bind C-a set synchronize-panes
|
||||
#bind M-x kill-pane
|
||||
|
||||
# copy mode
|
||||
bind Escape copy-mode
|
||||
|
Loading…
x
Reference in New Issue
Block a user