daily pastebin goal
32%
SHARE
TWEET

Tmux config

a guest Feb 17th, 2017 124 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. assume-paste-time 1
  2. base-index 0
  3. bell-action any
  4. bell-on-alert off
  5. default-command ""
  6. default-shell "/bin/bash"
  7. destroy-unattached off
  8. detach-on-destroy on
  9. display-panes-active-colour red
  10. display-panes-colour blue
  11. display-panes-time 1000
  12. display-time 750
  13. history-limit 2000
  14. lock-after-time 0
  15. lock-command "lock -np"
  16. message-command-style fg=yellow,bg=black
  17. message-style fg=black,bg=yellow
  18. mouse off
  19. mouse-utf8 on
  20. prefix C-b
  21. prefix2 <NONE>
  22. renumber-windows off
  23. repeat-time 500
  24. set-remain-on-exit off
  25. set-titles off
  26. set-titles-string "#S:#I:#W - "#T" #{session_alerts}"
  27. status on
  28. status-interval 15
  29. status-justify left
  30. status-keys emacs
  31. status-left "[#S] "
  32. status-left-length 10
  33. status-left-style default
  34. status-position bottom
  35. status-right " "#{=21:pane_title}" %H:%M %d-%b-%y"
  36. status-right-length 40
  37. status-right-style default
  38. status-style fg=black,bg=green
  39. status-utf8 on
  40. update-environment "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
  41. visual-activity off
  42. visual-bell off
  43. visual-silence off
  44. word-separators " -_@"
  45.  
  46. # split panes using | and -
  47. bind | split-window -h
  48. bind - split-window -v
  49. unbind '"'
  50. unbind %
  51. # Alt+<pane>
  52. set -g mouse-select-pane on
  53. set -g mouse-resize-pane on
  54. bind -n M-Left select-pane -L
  55. bind -n M-Right select-pane -R
  56. bind -n M-Up select-pane -U
  57. bind -n M-Down select-pane -D
  58.  
  59.  
  60. ######################
  61. ### DESIGN CHANGES ###
  62. ######################
  63.  
  64. # panes
  65. set -g pane-border-fg black
  66. set -g pane-active-border-fg brightred
  67.  
  68. ## Status bar design
  69. # status line
  70. set -g status-utf8 on
  71. set -g status-justify left
  72. set -g status-bg default
  73. set -g status-fg colour12
  74. set -g status-interval 2
  75.  
  76. # messaging
  77. set -g message-fg black
  78. set -g message-bg yellow
  79. set -g message-command-fg blue
  80. set -g message-command-bg black
  81.  
  82. #window mode
  83. setw -g mode-bg colour6
  84. setw -g mode-fg colour0
  85.  
  86. # window status
  87. setw -g window-status-format " #F#I:#W#F "
  88. setw -g window-status-current-format " #F#I:#W#F "
  89. setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
  90. setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
  91. setw -g window-status-current-bg colour0
  92. setw -g window-status-current-fg colour11
  93. setw -g window-status-current-attr dim
  94. setw -g window-status-bg green
  95. setw -g window-status-fg black
  96. setw -g window-status-attr reverse
  97.  
  98. # Info on left (I don't have a session display for now)
  99. set -g status-left ''
  100.  
  101. # loud or quiet?
  102. set-option -g visual-activity off
  103. set-option -g visual-bell off
  104. set-option -g visual-silence off
  105. set-window-option -g monitor-activity off
  106. set-option -g bell-action none
  107.  
  108. set -g default-terminal "screen-256color"
  109.  
  110. # The modes {
  111. setw -g clock-mode-colour colour135
  112. setw -g mode-attr bold
  113. setw -g mode-fg colour196
  114. setw -g mode-bg colour238
  115.  
  116. # }
  117. # The panes {
  118.  
  119. set -g pane-border-bg colour235
  120. set -g pane-border-fg colour238
  121. set -g pane-active-border-bg colour236
  122. set -g pane-active-border-fg colour51
  123.  
  124. # }
  125. # The statusbar {
  126.  
  127. set -g status-position bottom
  128. set -g status-bg colour234
  129. set -g status-fg colour137
  130. set -g status-attr dim
  131. set -g status-left ''
  132. set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
  133. set -g status-right-length 50
  134. set -g status-left-length 20
  135.  
  136. setw -g window-status-current-fg colour81
  137. setw -g window-status-current-bg colour238
  138. setw -g window-status-current-attr bold
  139. setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
  140.  
  141. setw -g window-status-fg colour138
  142. setw -g window-status-bg colour235
  143. setw -g window-status-attr none
  144. setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
  145.  
  146. setw -g window-status-bell-attr bold
  147. setw -g window-status-bell-fg colour255
  148. setw -g window-status-bell-bg colour1
  149.  
  150. # }
  151. # The messages {
  152.  
  153. set -g message-attr bold
  154. set -g message-fg colour232
  155. set -g message-bg colour166
  156.  
  157. # }
RAW Paste Data
Top