From 076b91ce06b0b569e703ed9c75a0fca213b0da31 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 21 Dec 2015 00:39:11 -0500 Subject: [PATCH] Update tmux config + S -> choose-session, W -> choose-window + Add tmux-mem-cpu-load to status-right --- tmux.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tmux.conf b/tmux.conf index 4a6843f7..5805878d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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 "