.tmux.conf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. set -g prefix C-g
  2. set -g default-terminal tmux-256color
  3. unbind-key C-b
  4. unbind-key Up
  5. unbind-key Right
  6. unbind-key Down
  7. unbind-key Left
  8. unbind-key C-Up
  9. unbind-key C-Right
  10. unbind-key C-Down
  11. unbind-key C-Left
  12. unbind-key M-Up
  13. unbind-key M-Right
  14. unbind-key M-Down
  15. unbind-key M-Left
  16. bind-key C-g send-prefix
  17. bind-key -r k select-pane -U
  18. bind-key -r l select-pane -R
  19. bind-key -r j select-pane -D
  20. bind-key -r h select-pane -L
  21. bind-key -r C-k resize-pane -U
  22. bind-key -r C-l resize-pane -R
  23. bind-key -r C-j resize-pane -D
  24. bind-key -r C-h resize-pane -L
  25. bind-key -r M-k resize-pane -U 5
  26. bind-key -r M-l resize-pane -R 5
  27. bind-key -r M-j resize-pane -D 5
  28. bind-key -r M-h resize-pane -L 5
  29. bind-key g split-window \; select-layout main-vertical
  30. bind-key Enter select-layout main-vertical
  31. set-option -g status-left-bg cyan
  32. set-option -g status-right-bg white
  33. set-option -g status-left-fg black
  34. set-option -g status-right-fg black
  35. set-option -g status-bg black
  36. set-option -g status-fg yellow
  37. set-option -g status-left ""
  38. set-option -g status-right "#{pane_current_path}"
  39. set-option -g status-position top
  40. set-option -g window-status-format "#[fg=red]#{?window_status_bell,☡,}#{?window_activity_flag,🔦,}#{?window_content_flag,✏,}#[fg=blue][#W]"
  41. set-option -g window-status-current-format "#[fg=red]#{?window_status_bell,☡,}#{?window_activity_flag,🔦,}#{?window_content_flag,✏,}#[bg=blue]#[fg=white] #W "
  42. set-option -g window-status-separator ""
  43. set-option -g window-status-bell-style bg=red,blink,fg=black
  44. set-option -g message-bg red
  45. set-option -g message-fg black
  46. set-option -g utf8 on
  47. set-option -g main-pane-width 85