.tmux.conf 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. set -g prefix C-h
  2. unbind C-b
  3. set -g mode-keys vi
  4. set -g base-index 1
  5. setw -g pane-base-index 1
  6. bind r source-file ~/.tmux.conf\; display "Reloaded!"
  7. bind C-t split-window -v
  8. bind C-n split-window -h
  9. bind h select-pane -L
  10. bind l select-pane -R
  11. bind j select-pane -D
  12. bind k select-pane -U
  13. # move between tabs
  14. bind -r C-h select-window -t :-
  15. bind -r C-l select-window -t :+
  16. bind -r H resize-pane -L 5
  17. bind -r J resize-pane -D 5
  18. bind -r K resize-pane -U 5
  19. bind -r L resize-pane -R 5
  20. set -g default-terminal "screen-256color"
  21. set -g status-fg black
  22. set -g status-bg "#f1efee"
  23. setw -g window-status-current-style fg=black,bg=yellow,bright
  24. set -g status-left-length 40
  25. set -g status-left "#[fg=green]Session: #S #[fg=yellow]#I #[fg=cyan]#P "
  26. set -g status-right "#[fg=cyan]%d %b %R"
  27. set -g status-justify left
  28. set -g monitor-activity on
  29. set -g visual-activity on
  30. set -g window-status-style fg=cyan,bg=default,dim
  31. set -g pane-border-style fg=green,bg=black
  32. set -g pane-active-border-style fg=white,bg=yellow
  33. set -g message-style fg=white,bg=black,bright
  34. bind Space copy-mode
  35. unbind p
  36. bind p paste-buffer
  37. set -g default-shell /usr/bin/zsh
  38. bind -T copy-mode-vi Escape send-keys -X cancel
  39. set -g escape-time 1