You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
1.0 KiB

  1. # soruce ~/.dotfiles/tmux.conf
  2. unbind C-b
  3. set -g prefix C-z
  4. bind-key C-z send-prefix
  5. bind-key C command-prompt "new-window '%%'"
  6. setw -g mode-keys vi
  7. set -g base-index 1
  8. set -g default-command /bin/bash
  9. #set -g default-terminal screen-256color
  10. #set -g default-terminal screen-16color
  11. set default-path "$HOME" # not work as i expected
  12. #set -g status-left ""
  13. #set -g status-right "#H | %a, %d %b %Y %T %z #(tmux -V)"
  14. set -g status-right "#(whoami)@#H | #(tmux -V) "
  15. set message-bg black
  16. set message-fg yellow
  17. set -g set-titles on
  18. set -g status-bg green
  19. set -g status-fg white
  20. if "test `hostname` = arch-aspireone" "set -g status-bg blue; set -g pane-active-border-fg blue"
  21. if "test `hostname` = darwin-mba.local" "set -g status-bg yellow; set -g pane-active-border-fg yellow; set -g status-fg black"
  22. if "test `hostname` = newkiwi" "set -g status-bg magenta; set -g pane-active-border-fg magenta"
  23. if "test -f /opt/local/bin/reattach-to-user-namespace" "set-option -g default-command '/opt/local/bin/reattach-to-user-namespace bash'"