Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. # use UTF8
  2. set -g utf8
  3. set-window-option -g utf8 on
  4.  
  5. # make tmux display things in 256 colors
  6. set -g default-terminal "screen-256color"
  7.  
  8. # set scrollback history to 64k
  9. set -g history-limit 65536
  10.  
  11. # set prefix to ^A
  12. # unbind C-b
  13. # set -g prefix ^A
  14. # bind a send-prefix
  15.  
  16. # ^A for last window
  17. unbind ^A
  18. bind ^A last-window
  19.  
  20. # ^D for detach
  21. unbind ^D
  22. bind ^D detach
  23.  
  24. # reload conf by r
  25. bind r source-file ~/.tmux.conf
  26.  
  27. # next/prev
  28. bind-key -n M-k next
  29. bind-key -n M-j prev
  30. unbind C-j
  31. unbind C-k
  32. bind-key -n C-j prev
  33. bind-key -n C-k next
  34.  
  35. # Status Bar
  36. set-option -g status on
  37. set -g status-utf8 on
  38. set -g status-interval 1
  39. set-option -g status-bg colour233
  40. set-option -g status-fg green
  41. set -g status-left-length 60
  42. set -g status-left " #[fg=colour74]#(whoami)@#h#[default]"
  43. set -g status-right-length 60
  44. set -g status-right "#[fg=colour99]#(tmux-mem-cpu-load 1)#[default] #[fg=colour101]%m/%d %H:%M:%S#[default] "
  45.  
  46. set-window-option -g window-status-current-fg yellow
  47. set-window-option -g window-status-current-bg default
  48. set -g status-justify centre
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement