Advertisement
candale

Tmux Config

Feb 22nd, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.07 KB | None | 0 0
  1. # Config taken from http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
  2.  
  3. set-option -g default-shell $SHELL
  4.  
  5. # split panes using | and -
  6. bind | split-window -h
  7. bind - split-window -v
  8. unbind '"'
  9. unbind %
  10.  
  11. # switch panes using Alt-arrow without prefix
  12. bind -n M-Left select-pane -L
  13. bind -n M-Right select-pane -R
  14. bind -n M-Up select-pane -U
  15. bind -n M-Down select-pane -D
  16.  
  17. # don't rename windows automatically
  18. set-option -g allow-rename off
  19.  
  20.  
  21. ######################
  22. ### DESIGN CHANGES ###
  23. ######################
  24.  
  25. # panes
  26. set -g pane-border-fg black
  27. set -g pane-active-border-fg brightred
  28.  
  29. ## Status bar design
  30. # status line
  31. set -g status-utf8 on
  32. set -g status-justify left
  33. set -g status-bg default
  34. set -g status-fg colour12
  35. set -g status-interval 2
  36.  
  37. # messaging
  38. set -g message-fg black
  39. set -g message-bg yellow
  40. set -g message-command-fg blue
  41. set -g message-command-bg black
  42.  
  43. #window mode
  44. setw -g mode-bg colour6
  45. setw -g mode-fg colour0
  46.  
  47. # window status
  48. setw -g window-status-format " #F#I:#W#F "
  49. setw -g window-status-current-format " #F#I:#W#F "
  50. setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
  51. setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
  52. setw -g window-status-current-bg colour0
  53. setw -g window-status-current-fg colour11
  54. setw -g window-status-current-attr dim
  55. setw -g window-status-bg green
  56. setw -g window-status-fg black
  57. setw -g window-status-attr reverse
  58.  
  59. # Info on left (I don't have a session display for now)
  60. set -g status-left ''
  61.  
  62. # loud or quiet?
  63. set-option -g visual-activity off
  64. set-option -g visual-bell off
  65. set-option -g visual-silence off
  66. set-window-option -g monitor-activity off
  67. set-option -g bell-action none
  68.  
  69. set -g default-terminal "screen-256color"
  70.  
  71. # The modes {
  72. setw -g clock-mode-colour colour135
  73. setw -g mode-attr bold
  74. setw -g mode-fg colour196
  75. setw -g mode-bg colour238
  76.  
  77. # }
  78. # The panes {
  79.  
  80. set -g pane-border-bg colour235
  81. set -g pane-border-fg colour238
  82. set -g pane-active-border-bg colour236
  83. set -g pane-active-border-fg colour51
  84.  
  85. # }
  86. # The statusbar {
  87.  
  88. set -g status-position bottom
  89. set -g status-bg colour234
  90. set -g status-fg colour137
  91. set -g status-attr dim
  92. set -g status-left ''
  93. set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
  94. set -g status-right-length 50
  95. set -g status-left-length 20
  96.  
  97. setw -g window-status-current-fg colour81
  98. setw -g window-status-current-bg colour238
  99. setw -g window-status-current-attr bold
  100. setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '
  101.  
  102. setw -g window-status-fg colour138
  103. setw -g window-status-bg colour235
  104. setw -g window-status-attr none
  105. setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
  106.  
  107. setw -g window-status-bell-attr bold
  108. setw -g window-status-bell-fg colour255
  109. setw -g window-status-bell-bg colour1
  110.  
  111. # }
  112. # The messages {
  113.  
  114. set -g message-attr bold
  115. set -g message-fg colour232
  116. set -g message-bg colour166
  117.  
  118. # }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement