X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=tmux.conf;h=42cf347edf85303ec29c6456aaed7d912032a51d;hb=e2c002e0b8c456ec5a894667dbee985db46ba747;hp=431e0b2175e601f9a4fe83d6ccdd9b36016e2504;hpb=18372869bdb42b1ba61794ab987d57e8e94e1fa1;p=dotfiles.git diff --git a/tmux.conf b/tmux.conf index 431e0b2..42cf347 100755 --- a/tmux.conf +++ b/tmux.conf @@ -1,3 +1,9 @@ +############################################### +# +# dependencies: +# brew install reattach-to-user-namespace # for macvim + + #set -g prefix ^O #unbind ^b #bind o send-prefix @@ -7,11 +13,13 @@ bind-key 'C-\' send-prefix set -g status-fg white #set -g status-bg blue -set -g status-bg black +#set -g status-bg black set-window-option -g window-status-current-bg red #set-option -g status-right "#[fg=green]#T #[fg=yellow,bold]#(date '+%Y-%m-%d %I:%M%P %a') " #set-option -g status-right "#[fg=green]#(whoami) #[fg=yellow,bold]#(date '+%Y-%m-%d') #[fg=red,bold]#(date '+%I:%M') #[fg=yellow,bold]#(date '+%p %a') " set-option -g status-right "#[fg=yellow]#(date '+%Y-%m-%d') #[fg=red]#(date '+%I:%M') #[fg=yellow]#(date '+%p %a') " +if-shell 'test "$(uname)" = "Darwin"' 'set -g status-bg black' +if-shell 'test "$(uname)" = "Linux"' 'set -g status-bg blue' ## automatic change the window title #set-option -g set-titles on @@ -63,7 +71,7 @@ bind-key -n "M-h" select-pane -L set-option -g mode-keys vi -set-window-option -g utf8 on +##set-window-option -g utf8 on bind-key -n "M-i" copy-mode