Update tmux config

+ S -> choose-session, W -> choose-window
+ Add tmux-mem-cpu-load to status-right
This commit is contained in:
Henrik Lissner 2015-12-21 00:39:11 -05:00
parent 6a453a7838
commit 076b91ce06

View file

@ -114,8 +114,8 @@ bind M run '~/.dotfiles/tmux/swap-pane.rb master'
bind o resize-pane -Z
bind P run-shell '~/.dotfiles/tmux/select-pane.sh'
bind S run-shell '~/.dotfiles/tmux/select-session.sh'
bind W run-shell '~/.dotfiles/tmux/select-window.sh'
bind S choose-session
bind W choose-window
bind / choose-session
bind . choose-window
@ -163,7 +163,7 @@ set -g status-justify left
set -g status-right-length 100
set -g status-left-length 80
set -g status-left '#[fg=white] #S #[fg=yellow]'
set -g status-right "#[fg=colour242]<#[fg=colour248]< #(sysctl -n vm.loadavg | awk '{ print $2,$3,$4 }') < #[fg=yellow]#(dig +short myip.opendns.com @208.67.222.222) #[bg=yellow]#[fg=black] #(hostname) "
set -g status-right "#[fg=colour242]<#[fg=colour248]< #(tmux-mem-cpu-load -i 5) < #[fg=yellow]#(dig +short myip.opendns.com @208.67.222.222) #[bg=yellow]#[fg=black] #(hostname) "
set -g window-status-format " #I #W:#T "
set -g window-status-current-format " ⮀ #W:#T "