Guest User

Untitled

a guest
Nov 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. bind r source-file ~/.tmux.conf
  2.  
  3. set -g set-titles on
  4. set -g set-titles-string '#(whoami)::#h'
  5.  
  6. set -g status-interval 5
  7. set -g default-terminal "xterm"
  8. set -g escape-time 10
  9. set -g default-shell $SHELL
  10. set -g default-command "reattach-to-user-namespace -l ${SHELL}"
  11.  
  12. #Remap navigation to be like vim
  13. unbind-key j
  14. bind-key j select-pane -D
  15. unbind-key k
  16. bind-key k select-pane -U
  17. unbind-key l
  18. bind-key l select-pane -R
  19. unbind-key h
  20. bind-key h select-pane -L
  21.  
  22. bind P paste-buffer
  23. unbind-key -T copy-mode-vi Space ; bind-key -T copy-mode-vi v send-keys -X begin-selection
  24. unbind-key -T copy-mode-vi Enter ; bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
  25. unbind-key -T copy-mode-vi C-v ; bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
  26. #### COLOUR (Solarized light)
  27.  
  28. # default statusbar colors
  29. set-option -g status-bg white #base2
  30. set-option -g status-fg yellow #yellow
  31. set-option -g status-attr default
  32.  
  33. # default window title colors
  34. set-window-option -g window-status-fg brightyellow #base00
  35. set-window-option -g window-status-bg default
  36. #set-window-option -g window-status-attr dim
  37.  
  38. # active window title colors
  39. set-window-option -g window-status-current-fg brightred #orange
  40. set-window-option -g window-status-current-bg default
  41. #set-window-option -g window-status-current-attr bright
  42.  
  43. # pane border
  44. set-option -g pane-border-fg white #base2
  45. set-option -g pane-active-border-fg brightcyan #base1
  46.  
  47. # message text
  48. set-option -g message-bg white #base2
  49. set-option -g message-fg brightred #orange
  50.  
  51. # pane number display
  52. set-option -g display-panes-active-colour blue #blue
  53. set-option -g display-panes-colour brightred #orange
  54.  
  55. # clock
  56. set-window-option -g clock-mode-colour green #green
  57.  
  58. # bell
  59. set-window-option -g window-status-bell-style fg=white,bg=red #base2, red
  60. #### COLOUR (Solarized dark)
  61.  
  62. # default statusbar colors
  63. set-option -g status-bg black #base02
  64. set-option -g status-fg yellow #yellow
  65. set-option -g status-attr default
  66.  
  67. # default window title colors
  68. set-window-option -g window-status-fg brightblue #base0
  69. set-window-option -g window-status-bg default
  70. #set-window-option -g window-status-attr dim
  71.  
  72. # active window title colors
  73. set-window-option -g window-status-current-fg brightred #orange
  74. set-window-option -g window-status-current-bg default
  75. #set-window-option -g window-status-current-attr bright
  76.  
  77. # pane border
  78. set-option -g pane-border-fg black #base02
  79. set-option -g pane-active-border-fg brightgreen #base01
  80.  
  81. # message text
  82. set-option -g message-bg black #base02
  83. set-option -g message-fg brightred #orange
  84.  
  85. # pane number display
  86. set-option -g display-panes-active-colour blue #blue
  87. set-option -g display-panes-colour brightred #orange
  88.  
  89. # clock
  90. set-window-option -g clock-mode-colour green #green
  91.  
  92. # bell
  93. set-window-option -g window-status-bell-style fg=black,bg=red #base02, red
Add Comment
Please, Sign In to add comment