.tmate.conf 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. # Usage options
  2. ## Always tell windows we can use 256 colors.
  3. set-option -g default-terminal "tmux-256color"
  4. ## Set scrollback length.
  5. set-option -g history-limit 20000
  6. ## Send xterm(1) focus events to windows running under the server.
  7. set-option -g focus-events on
  8. ## Indicate modifiers like shift/alt/ctrl using xterm(1) sequences.
  9. set-option -g xterm-keys on
  10. ## Set terminal (client) titles appropriately.
  11. set-option -g set-titles on
  12. set-option -g set-titles-string "tmux - #T"
  13. ## Don't make Esc usage have a delay (which is annoying when using kak(1)).
  14. set-option -g escape-time 25
  15. # Style
  16. ## Status bar colors.
  17. set-option -g status-left-style "fg=colour10"
  18. set-option -g status-right-style "fg=colour10"
  19. set-option -g status-style "bg=default,fg=colour10"
  20. ## Pane colors.
  21. set-option -g pane-active-border-style "bg=default,fg=colour10"
  22. ## Window entries (in status bar) colors.
  23. set-option -g window-status-activity-style "bg=default,fg=colour235,bold,reverse"
  24. set-option -g window-status-bell-style "bg=default,fg=white,bold,reverse"
  25. set-option -g window-status-current-style "bg=default,fg=colour10,bold,reverse"
  26. set-option -g window-status-style "bg=default,fg=colour10"
  27. # Status bar
  28. set-option -g status on
  29. set-option -g status-interval 5
  30. set-option -g status-position top
  31. set-option -g status-justify left
  32. ## Window format, akin to catgirl(1).
  33. set-option -g window-status-format " #I #W "
  34. set-option -g window-status-separator ""
  35. set-option -g window-status-current-format " #I #W "
  36. ## Nothing on the left, a simple clock and hostname (no domain) on the right.
  37. set-option -g status-left ""
  38. set-option -g status-right "#h %I:%M %p"
  39. set-option -g status-left-length 0
  40. # Windows
  41. set-option -g monitor-activity on
  42. set-option -g visual-activity on
  43. set-option -g renumber-windows on
  44. set-option -g focus-events on
  45. # Keybinds
  46. bind N swap-window -t +1 -d
  47. bind P swap-window -t -1 -d
  48. bind S-Left swap-pane -s '{left-of}'
  49. bind S-Right swap-pane -s '{right-of}'
  50. bind S-Up swap-pane -s '{up-of}'
  51. bind S-Down swap-pane -s '{down-of}'