您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

37 行
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 "${USER}@#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" \
  21. "set -g status-bg blue; set -g pane-active-border-fg blue"
  22. if "test `hostname` = darwin-mba.local" \
  23. "set -g status-bg yellow; set -g pane-active-border-fg yellow; set -g status-fg black"
  24. if "test `hostname` = newkiwi" \
  25. "set -g status-bg magenta; set -g pane-active-border-fg magenta"
  26. # window-status-current
  27. setw -g window-status-current-fg black
  28. setw -g window-status-current-bg white
  29. setw -g window-status-current-attr bold