TODO: REMOVE
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

39 lines
989 B

  1. # remap prefix to Ctrl + a
  2. set -g prefix C-a
  3. unbind C-b
  4. bind C-a send-prefix
  5. # force a reload of the config file
  6. unbind r
  7. bind r source-file ~/.tmux.conf
  8. # shorter timing
  9. set -g repeat-time 200
  10. # configure mouse
  11. #setw -g mouse on
  12. # don't rename windows automatically
  13. set-option -g allow-rename off
  14. # set some other options
  15. setw -g mode-keys vi
  16. set -g default-terminal "screen-256color"
  17. # use index from 1 for easier typing/ switching
  18. set -g base-index 1
  19. setw -g pane-base-index 1
  20. # status bar
  21. #set -g status-right '#[fg=white]#(hostname)@#(host `hostname` | cut -d " " -f 4)'
  22. set-window-option -g status-left " #S "
  23. set-window-option -g status-left-style fg=black,bg=white
  24. set-window-option -g status-right " %H:%M %Y-%m-%d | #(hostname) "
  25. set-window-option -g status-right-style fg=black,bg=white
  26. set-window-option -g window-status-format " #I: #W "
  27. set-window-option -g window-status-current-format " #I: #W "
  28. set-window-option -g window-status-current-style fg=green,bg=black