BSDG33KCLUB

cool tmux theme

Dec 15th, 2013
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1. #-------~---~----------~----------~----
  2. # .---..-.-.-..-..-..-..-.
  3. # `| |'| | | || || | > <
  4. # `-' `-'-'-'`----''-''-'
  5. #-------~---~----------~----------~----
  6. # file: $XDG_CONFIG_HOME/tmux/conf
  7. #-------~---~----------~----------~----
  8. #
  9. # updated: 2012/07/09
  10. # revision: 4
  11. #
  12. #-------~---~----------~----------~----
  13. #
  14. # + Software used ATOC:
  15. # `-> tmux => 1.6
  16. #
  17. #-------~---~----------~----------~----
  18.  
  19. #-------~---~----------~----------~----
  20. # KEYBINDS
  21. #-------~---~----------~----------~----
  22.  
  23. set -g prefix ^a
  24. set -g status-keys vi
  25. setw -g mode-keys vi
  26. setw -g mode-mouse on
  27.  
  28. # Unbinds
  29. # `-> these are part of the default mappings
  30. # and will get new functionality
  31. unbind c
  32. unbind i
  33. unbind l
  34. unbind s
  35. unbind w
  36.  
  37. bind F12 source-file ~/etc/tmux/config
  38. bind w neww
  39. bind m choose-window
  40. bind a choose-session
  41. bind ^a send-prefix
  42. bind q kill-pane
  43. bind ^q kill-window
  44. bind c copy-mode
  45. bind t set status
  46.  
  47. bind -n ^F1 select-window -t 1
  48. bind -n ^F2 select-window -t 2
  49. bind -n ^F3 select-window -t 3
  50. bind -n ^F4 select-window -t 4
  51. bind -n ^F5 select-window -t 5
  52. bind -n ^F6 select-window -t 6
  53. bind -n ^F7 select-window -t 7
  54. bind -n ^F8 select-window -t 8
  55. bind -n ^F9 select-window -t 9
  56. bind -n ^F10 select-window -t 10
  57. bind -n ^F11 select-window -t 11
  58. bind -n ^F12 select-window -t 12
  59.  
  60. bind ^h select-pane -L
  61. bind ^j select-pane -D
  62. bind ^k select-pane -U
  63. bind ^l select-pane -R
  64.  
  65. bind h resize-pane -L
  66. bind j resize-pane -D
  67. bind k resize-pane -U
  68. bind l resize-pane -R
  69.  
  70. bind F1 select-pane -t 1
  71. bind F2 select-pane -t 2
  72. bind F3 select-pane -t 3
  73. bind F4 select-pane -t 4
  74. bind F5 select-pane -t 5
  75. bind F6 select-pane -t 6
  76. bind F7 select-pane -t 7
  77. bind F8 select-pane -t 8
  78. bind F9 select-pane -t 9
  79. bind F10 select-pane -t 10
  80. bind F11 select-pane -t 11
  81. # bind F12 select-pane -t 12
  82.  
  83. bind i split-window -h
  84. bind s split-window
  85.  
  86. # bind t attach -d -t tmux
  87. # bind i attach -d -t irc
  88. # bind r attach -d -t rails
  89.  
  90. #-------~---~----------~----------~----
  91. # WINDOWS & PANES
  92. #-------~---~----------~----------~----
  93.  
  94. # Start counting at 1
  95. set -g base-index 1
  96.  
  97. set -g mouse-select-pane on
  98. set -g pane-border-fg black
  99. set -g pane-active-border-fg red
  100. set -g display-panes-colour white
  101. set -g display-panes-active-colour red
  102. set -g display-panes-time 1000
  103.  
  104. setw -g monitor-activity on
  105. setw -g utf8 on
  106.  
  107. #-------~---~----------~----------~----
  108. # MISC SETTINGS
  109. #-------~---~----------~----------~----
  110.  
  111. set -g default-shell /bin/zsh
  112. set -g default-command /bin/zsh
  113. setw -g automatic-rename on
  114. set -g set-titles on
  115. set -g set-titles-string 'tmux: #T'
  116. set -g repeat-time 100
  117. set -g default-terminal "screen-256color"
  118. setw -g clock-mode-colour red
  119. setw -g clock-mode-style 12
  120. setw -g alternate-screen on
  121.  
  122. # Don't close windows
  123. set -g set-remain-on-exit on
  124.  
  125. #-------~---~----------~----------~----
  126. # STATUS & MESSAGE
  127. #-------~---~----------~----------~----
  128.  
  129. set -g message-attr bold
  130. set -g message-fg black
  131. set -g message-bg yellow
  132.  
  133. set -g status-justify right
  134. set -g status-bg black
  135. set -g status-fg white
  136. set -g status-interval 5
  137. set -g status-utf8 on
  138.  
  139. setw -g window-status-fg magenta
  140. setw -g window-status-attr none
  141. setw -g window-status-current-fg white
  142. setw -g window-status-current-bg black
  143. setw -g window-status-current-attr bold
  144.  
  145. setw -g window-status-activity-attr none
  146.  
  147. setw -g window-status-format '#[fg=white,bg=blue] #I #[fg=black,bg=cyan] #W '
  148. setw -g window-status-current-format '#[fg=blue,bg=white] #I #[fg=black,bg=yellow] #W '
  149.  
  150. set -g status-left '#[fg=blue,bold] #S#[default,fg=white][#[fg=yellow]#I:#P#[fg=white]]#[fg=black,bold]@#[fg=red]#H #[fg=black,bold]» #T#[default]'
  151. set -g status-left-length 80
  152. set -g status-left-fg black
  153.  
  154. set -g status-right ''
Advertisement
Add Comment
Please, Sign In to add comment