The aptly named.
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.

55 lines
1.6 KiB

11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
10 years ago
10 years ago
11 years ago
  1. set-option -g prefix C-a
  2. set -g default-terminal "screen-256color"
  3. setw -g alternate-screen on
  4. # Window size constraints
  5. setw -g aggressive-resize on
  6. # Mouse in copy mode
  7. set-option -g mouse on
  8. # Prevent renaming windows (use <C-a ,> to rename)
  9. set-option -g allow-rename off
  10. # Let titles propogate up to the terminal emulator
  11. set-option -g set-titles on
  12. set-option -g set-titles-string "#W - TMUX"
  13. # Status bar stuff
  14. set -g status-keys vi
  15. set -g status-interval 5
  16. # New Design
  17. set -g status-justify left
  18. set -g status-bg default
  19. set -g status-fg colour12
  20. # window status
  21. setw -g window-status-format " #F#I:#W#F "
  22. setw -g window-status-current-format " #F#I:#W#F "
  23. setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
  24. setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
  25. # Info on left
  26. set -g status-left ''
  27. # The statusbar {
  28. set -g status-position bottom
  29. set -g status-bg colour234
  30. set -g status-fg colour137
  31. set -g status-left ''
  32. set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
  33. set -g status-right-length 50
  34. set -g status-left-length 20
  35. setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
  36. setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
  37. bind-key -T copy-mode-vi v send-keys -X begin-selection
  38. bind-key -T copy-mode-vi y send-keys -X copy-selection
  39. bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
  40. # When splitting a window, maintain directory
  41. bind '"' split-window -c "#{pane_current_path}"
  42. bind % split-window -h -c "#{pane_current_path}"