Advertisement
Guest User

bfrancom tmux conf

a guest
Sep 19th, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.82 KB | None | 0 0
  1. #Import env vars
  2. set -g status-utf8 on
  3. set -g update-environment "DISPLAY SSH_ASKPASS SSH_AUTHSOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
  4. set -g set-titles on
  5. set -g set-titles-string "#T"
  6. #set-option -g mouse-select-pane on
  7. #set-option -g mouse-select-window on
  8. #setw -g mode-mouse on
  9. set -g terminal-overrides 'xterm*:smcup@:rmcup@'
  10. set -g history-limit 4096
  11.  
  12.  
  13. # I'm a Vim user, this makes navigation easier
  14. setw -g mode-keys vi # I especially like being able to search with /,? when in copy-mode
  15. unbind-key j
  16. bind-key j select-pane -D # Similar to 'C-w j' to navigate windows in Vim
  17. unbind-key k
  18. bind-key k select-pane -U
  19. unbind-key h
  20. bind-key h select-pane -L
  21. unbind-key l
  22. bind-key l select-pane -R
  23.  
  24. new-session
  25.  
  26.  
  27. bind \ split-window -h
  28. bind - split-window -v
  29.  
  30. # default statusbar colors
  31. set-option -g status-bg default
  32. set-option -g status-fg white
  33. set-option -g status-attr default
  34.  
  35. # default window title colors
  36. set-window-option -g window-status-fg white
  37. set-window-option -g window-status-bg default
  38. #set-window-option -g window-status-attr dim
  39.  
  40. # active window title colors
  41. #set-window-option -g window-status-current-fg colour240
  42. #set-window-option -g window-status-current-bg white
  43. #set-window-option -g window-status-current-attr bright
  44.  
  45. # pane border
  46. set-option -g pane-border-fg colour235 #base02
  47. set-option -g pane-active-border-fg colour46 #base01
  48.  
  49. # message text
  50. set-option -g message-bg colour235 #base02
  51. set-option -g message-fg colour196 #orange
  52.  
  53. # pane number display
  54. set-option -g display-panes-active-colour white
  55. set-option -g display-panes-colour colour240
  56.  
  57. # clock
  58. set-window-option -g clock-mode-colour colour40 #green
  59.  
  60. #battery stats:
  61. set -g status-right '| āš”#(cat /sys/class/power_supply/BAT0/capacity)% | %I:%M%p | %a %Y-%m-%d |'
  62. set -g status-left '|#Sā˜ |'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement