tmux.conf 701 B

1234567891011121314151617181920212223242526
  1. # Rebind prefix to C-a
  2. unbind C-b
  3. set -g prefix C-a
  4. bind C-a send-prefix
  5. # Remove excess delay when hitting escape
  6. set -sg escape-time 0
  7. # Bar coloring and position
  8. set -g status-bg black
  9. set -g status-fg green
  10. set-option -g status-position top
  11. # Make sure zsh is used by default
  12. set -g default-shell /bin/zsh
  13. setw -g mouse on
  14. set-option -ga terminal-overrides ",xterm-256color:Tc"
  15. set -g default-terminal "screen-256color"
  16. set-option -g focus-events on
  17. set-window-option -g mode-keys vi
  18. bind-key -T copy-mode-vi v send -X begin-selection
  19. bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy"
  20. bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"