logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://hacktivis.me/git/dotfiles.git

.tmux.conf (1949B)


  1. set -g mouse on
  2. set -g renumber-windows on
  3. set -g set-titles on
  4. set -g default-terminal "tmux-256color"
  5. set -g mode-keys vi
  6. set -g status-left '#[session_id]#[S]#[T] '
  7. set -g status-right ' #H'
  8. set -g status-right-length 70
  9. set -g base-index 1
  10. set -g set-clipboard external
  11. bind-key -n M-q kill-pane \; select-layout
  12. bind-key -n M-n split-window \; select-layout
  13. bind-key -n M-d select-layout tiled
  14. bind-key -n M-s select-layout main-vertical \; swap-pane -s 0
  15. bind-key -n M-m select-layout main-horizontal \; swap-pane -s 0
  16. bind-key -n M-h select-pane -L
  17. bind-key -n M-j select-pane -D
  18. bind-key -n M-k select-pane -U
  19. bind-key -n M-l select-pane -R
  20. set-option escape-time 2
  21. # copy some of the environment (I wish it would copy everything by default...)
  22. set -g update-environment \
  23. "DISPLAY WINDOWID XAUTHORITY \
  24. WAYLAND_DISPLAY \
  25. XDG_RUNTIME_DIR \
  26. GDK_BACKEND QT_QPA_PLATFORM CLUTTER_BACKEND SDL_VIDEODRIVER \
  27. "
  28. #### COLOUR (Solarized dark)
  29. # default statusbar colors
  30. set-option -g status-style none,bg=black #base02
  31. %if #{==:#{host},hp2125}
  32. set-option -ga status-style fg=white
  33. %elif #{==:#{host},NightmareMoon}
  34. set-option -ga status-style fg=yellow
  35. %else
  36. set-option -ga status-style fg=red
  37. %endif
  38. # default window title colors
  39. set-window-option -g window-status-style fg=brightblue #base0
  40. set-window-option -ga window-status-style bg=default
  41. # active window title colors
  42. set-window-option -g window-status-current-style fg=brightred #orange
  43. set-window-option -ga window-status-current-style bg=default
  44. # pane border
  45. set-option -g pane-border-style fg=black #base02
  46. set-option -g pane-active-border-style fg=brightgreen #base01
  47. # message text
  48. set-option -g message-style bg=black #base02
  49. set-option -g message-style fg=brightred #orange
  50. # pane number display
  51. set-option -g display-panes-active-colour blue #blue
  52. set-option -g display-panes-colour brightred #orange
  53. # clock
  54. set-window-option -g clock-mode-colour green #green