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.6 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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. set message-bg black
  19. set message-fg yellow
  20. # default-color
  21. set -g status-bg green
  22. set -g status-fg white
  23. set -g mode-bg white
  24. set -g mode-fg black
  25. if "test `hostname` = arch-aspireone" \
  26. "set -g status-bg blue; set -g status-fg white; \
  27. set -g mode-bg blue; set -g mode-fg white; \
  28. set -g pane-active-border-fg blue;"
  29. if "test `hostname` = darwin-mba.local" \
  30. "set -g status-bg yellow; set -g status-fg black; \
  31. set -g mode-bg yellow; set -g mode-fg black; \
  32. set -g pane-active-border-fg yellow;"
  33. if "test `hostname` = newkiwi" \
  34. "set -g status-bg magenta; set -g status-fg white; \
  35. set -g mode-bg magenta; set -g mode-fg white; \
  36. set -g pane-active-border-fg magenta;"
  37. # face of currently active window name in status bar
  38. setw -g window-status-current-fg black
  39. setw -g window-status-current-bg white
  40. setw -g window-status-current-attr bold
  41. # this does not work because it runs asyncly
  42. # if "test -n \"tmux display -p '#{client_termname}' | grep -o 256color\"" \
  43. # "set -g default-terminal screen-256color" "set -g default-terminal screen"