Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. set -g default-terminal "screen-256color"
  2.  
  3. run-shell "/usr/local/bin/powerline-daemon -q"
  4. source "/usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
  5.  
  6. set -g default-command "zsh"
  7. set-option -g base-index 1
  8. set-option -g set-titles on
  9. set-option -g set-titles-string '#H:#S.#I.#P #W #T'
  10. set -s escape-time 50
  11.  
  12. # Zenburn || die
  13. setw -g clock-mode-colour colour117
  14. setw -g mode-attr bold
  15. setw -g mode-fg colour117
  16. setw -g mode-bg colour238
  17. set -g status-bg colour235
  18. set -g status-fg colour248
  19. set -g status-attr dim
  20. set -g status-left '#[fg=colour187,bold]#H'
  21. set -g status-right '#[fg=colour174]#(mpc) #[fg=colour187,bold]%H:%M:%S'
  22. set -g status-right-length 80
  23. setw -g window-status-current-fg colour223
  24. setw -g window-status-current-bg colour237
  25. setw -g window-status-current-attr bold
  26. set -g message-attr bold
  27. set -g message-fg colour117
  28. set -g message-bg colour235
  29.  
  30. # Enable mouse
  31. #set-window-option -g mode-mouse on
  32. #set-option -g mouse-select-pane on
  33. #set-option -g mouse-resize-pane on
  34. #set-option -g mouse-select-window on
  35. set -g mouse on
  36. bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
  37. bind -n WheelDownPane select-pane -t= \; send-keys -M
  38. bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
  39. bind -t vi-copy C-WheelUpPane halfpage-up
  40. bind -t vi-copy C-WheelDownPane halfpage-down
  41. bind -t emacs-copy C-WheelUpPane halfpage-up
  42. bind -t emacs-copy C-WheelDownPane halfpage-down
  43.  
  44. #statusline
  45. set -g status on
  46. set -g status-utf8 on
  47. set -g status-interval 2
  48. set -g status-right-length 70
  49. set -g status-right "#[fg=orange][#[fg=orange]↑ #(uptime | sed -r 's/.*up//' | sed 's/,.*//' | sed 's/^ *//')#[fg=orange]]"
  50. set -ag status-right "#[fg=orange][#[fg=orange]%d-%m-%Y #[fg=orange]%H:%M#[fg=orange]]"
  51.  
  52. #keybinds
  53. set -g prefix C-a
  54. bind C-a send-prefix
  55. unbind C-b
  56. unbind-key -
  57. bind-key | split-window -h
  58. bind-key - split-window -v
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement