tmux.conf 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # === === === === === === === Minimal tmux Config === === === === === === ===
  2. #
  3. # This tmux configuration expects that tmux is used almost exclusively for
  4. # session management, as opposed to single-window multiplexing.
  5. #
  6. # === === === === === === === === === === === === === === === === === === ===
  7. # Disable the leader key
  8. unbind C-b
  9. # Instead, use the omnibar script for controlling tmux
  10. bind -n C-S-Space run-shell -b "/bin/zsh $DOTFILES_DIR/.scripts/omnibar.zsh"
  11. # Default commands
  12. set-option -g default-shell /bin/zsh
  13. # `terminfo` config for alacritty
  14. set -g default-terminal "alacritty"
  15. set-option -sa terminal-features ',alacritty:RGB'
  16. set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
  17. set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
  18. # Global settings
  19. set -g mouse off
  20. set -g escape-time 0
  21. set-option -g xterm-keys on
  22. set-option -g focus-events on
  23. # Feedback
  24. set -g visual-activity on
  25. set -g visual-bell on
  26. set -g visual-silence off
  27. setw -g monitor-activity off
  28. set -g bell-action none
  29. set -s escape-time 0
  30. set -s escape-time 0
  31. # Status Bar
  32. set -g status off
  33. # Panes
  34. set -g pane-border-status 'off'
  35. set -g pane-border-lines 'single'
  36. set -g pane-border-style 'fg=colour8'
  37. set -g pane-active-border-style 'fg=colour8'
  38. # Set path variable
  39. set-environment -g PATH "$PATH"