TMUX-config - alternate


SUBMITTED BY: Guest

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

FORMAT: Text only

SIZE: 979 Bytes

HITS: 786

  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. # Reload key
  7. set -g base-index 1
  8. set-window-option -g mode-keys vi
  9. bind s split-window -v
  10. bind v split-window -h
  11. bind h select-pane -L
  12. bind j select-pane -D
  13. bind k select-pane -U
  14. bind l select-pane -R
  15. bind < resize-pane -L 10
  16. bind > resize-pane -R 10
  17. bind - resize-pane -D 10
  18. bind + resize-pane -U 10
  19. bind r source-file ~/.tmux.conf
  20. set -g default-terminal "screen-256color"
  21. set -g history-limit 1000
  22. # THEME
  23. set -g status-bg black
  24. set -g status-fg yellow
  25. set -g status-interval 60
  26. set -g status-left-length 30
  27. set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]'
  28. set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=yellow]%H:%M#[default]'
  29. # set correct term
  30. set -g default-terminal screen-256color

comments powered by Disqus