tmux配置

bind k selectp -Uspa

bind j selectp -Dorm

bind h selectp -L
bind l selectp -R
bind -r ^k resizep -U 5
bind -r ^j resizep -D 5
bind -r ^h resizep -L 5
bind -r ^l resizep -R 5
 
set -g default-command "reattach-to-user-namespace -l /usr/local/bin/zsh"ip

bind r source-file ~/.tmux.conf \; display-message "Config reloaded"it

setw -g mode-keys vipip

 
set-option -g default-command "reattach-to-user-namespace -l zsh"
bind-key -t vi-copy v begin-selection
 
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
 
set -g status-bg black
 
set -g status-fg white
 
set-option -g status-justify centre
 
set-option -g status-left '#[bg=black,fg=green][#[fg=cyan]#S#[fg=green]]'
 
set-option -g status-left-length 20io

setw -g automatic-rename onzsh

set-window-option -g window-status-format '#[dim]#I:#[default]#W#[fg=grey,dim]'
set-window-option -g window-status-current-format '#[fg=cyan,bold]#I#[fg=blue]:#[fg=cyan]#W#[fg=dim]'
set -g status-right '#[fg=green][#[fg=cyan]%Y-%m-%d#[fg=green]]'
form

相關文章
相關標籤/搜索