Advertisement
Guest User

Untitled

a guest
Nov 30th, 2015
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. TERM=screen-256color
  2. set-option -g default-terminal $TERM
  3. set -g mode-mouse on
  4. set -g mouse-resize-pane on
  5. set -g mouse-select-pane on
  6. set -g mouse-select-window on
  7.  
  8. # Toggle mouse on with ^B m
  9. bind m \
  10. set -g mode-mouse on \;\
  11. set -g mouse-resize-pane on \;\
  12. set -g mouse-select-pane on \;\
  13. set -g mouse-select-window on \;\
  14. display 'Mouse: ON'
  15.  
  16. # Toggle mouse off with ^B M
  17. bind M \
  18. set -g mode-mouse off \;\
  19. set -g mouse-resize-pane off \;\
  20. set -g mouse-select-pane off \;\
  21. set -g mouse-select-window off \;\
  22. display 'Mouse: OFF'
  23.  
  24. # color scheme (style based on vim-powerline)
  25. set -g status-left-length 52
  26. set -g status-right-length 451
  27. set -g status-fg white
  28. set -g status-bg colour234
  29. set -g window-status-activity-attr bold
  30. set -g pane-border-fg colour245
  31. set -g pane-active-border-fg colour46
  32. set -g message-fg colour16
  33. set -g message-bg colour221
  34. set -g message-attr bold
  35. set -g status-left '#[fg=colour235,bg=colour252,bold]❐ #S #[fg=colour252,bg=colour238,nobold]⮀#[fg=colour245,bg=colour238,bold] #(whoami)#[fg=colour238,bg=colour234,nobold]⮀ '
  36. set -g window-status-format "#[fg=white,bg=colour234] #I #W "
  37. set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour25,bg=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀"
  38.  
  39. #set-option -g default-command "reattach-to-user-namespace -l bash"
  40. bind-key C-c run-shell 'tmux save-buffer - | reattach-to-user-namespace pbcopy'
  41. bind-key C-v run-shell 'reattach-to-user-namespace pbpaste | tmux load-buffer - \; paste-buffer -d'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement