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.

tmux.conf 1.4 KiB

12 years ago
12 years ago
12 years ago
11 years ago
12 years ago
11 years ago
12 years ago
12 years ago
11 years ago
12 years ago
12 years ago
12 years ago
11 years ago
12 years ago
12 years ago
12 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. set -g base-index 1
  7. set -g pane-base-index 1
  8. setw -g mode-keys vi
  9. set -g default-command /bin/bash
  10. #set -g default-terminal screen-256color
  11. #set -g default-terminal screen-16color
  12. set default-path "${HOME}" # not work as i expected
  13. set -g set-titles on
  14. set -g display-panes-time 5000
  15. #set -g status-left ""
  16. #set -g status-right "#H | %a, %d %b %Y %T %z #(tmux -V)"
  17. set -g status-right "${USER}@#H | #(tmux -V) "
  18. # default-color
  19. set -g status-bg green
  20. set -g status-fg white
  21. set -g mode-bg green
  22. set -g mode-fg white
  23. if "test `hostname` = arch-aspireone" \
  24. "set -g status-bg blue; set -g status-fg white; \
  25. set -g mode-bg blue; set -g mode-fg white; \
  26. set -g pane-active-border-fg blue;"
  27. if "test `hostname` = darwin-mba.local" \
  28. "set -g status-bg yellow; set -g status-fg black; \
  29. set -g mode-bg yellow; set -g mode-fg black; \
  30. set -g pane-active-border-fg yellow;"
  31. if "test `hostname` = newkiwi" \
  32. "set -g status-bg magenta; set -g status-fg white; \
  33. set -g mode-bg magenta; set -g mode-fg white; \
  34. set -g pane-active-border-fg magenta;"
  35. # face of currently active window name in status bar
  36. setw -g window-status-current-fg black
  37. setw -g window-status-current-bg white
  38. setw -g window-status-current-attr bold
  39. set message-bg white
  40. set message-fg black