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.3 KiB

12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. set -g status-bg green
  21. set -g status-fg white
  22. if "test `hostname` = arch-aspireone" \
  23. "set -g status-bg blue; set -g pane-active-border-fg blue"
  24. if "test `hostname` = darwin-mba.local" \
  25. "set -g status-bg yellow; set -g pane-active-border-fg yellow; set -g status-fg black"
  26. if "test `hostname` = newkiwi" \
  27. "set -g status-bg magenta; set -g pane-active-border-fg magenta"
  28. # window-status-current
  29. setw -g window-status-current-fg black
  30. setw -g window-status-current-bg white
  31. setw -g window-status-current-attr bold
  32. set -g mode-bg white
  33. set -g mode-fg black
  34. # this does not work because it runs asyncly
  35. # if "test -n \"tmux display -p '#{client_termname}' | grep -o 256color\"" \
  36. # "set -g default-terminal screen-256color" "set -g default-terminal screen"