TMUX config file


SUBMITTED BY: Guest

DATE: Dec. 5, 2013, 12:36 a.m.

FORMAT: Text only

SIZE: 1.0 kB

HITS: 809

  1. # write this in ~/.tmux.conf
  2. # Make it use C-z instead of C-a, so you have readline shortcuts available
  3. unbind C-b
  4. unbind l
  5. set -g prefix C-z
  6. bind-key C-a last-window
  7. # Reload key
  8. set -g base-index 1
  9. set-window-option -g mode-keys vi
  10. bind s split-window -v
  11. bind v split-window -h
  12. bind h select-pane -L
  13. bind j select-pane -D
  14. bind k select-pane -U
  15. bind l select-pane -R
  16. bind < resize-pane -L 10
  17. bind > resize-pane -R 10
  18. bind - resize-pane -D 10
  19. bind + resize-pane -U 10
  20. bind r source-file ~/.tmux.conf
  21. set -g default-terminal "screen-256color"
  22. set -g history-limit 1000
  23. # THEME
  24. set -g status-bg black
  25. set -g status-fg white
  26. set -g status-interval 60
  27. set -g status-left-length 30
  28. set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
  29. set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=blue]%H:%M#[default]'
  30. # set correct term
  31. set -g default-terminal screen-256color

comments powered by Disqus