Advertisement
Guest User

.tmux.conf

a guest
Oct 24th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. set -g prefix C-a
  2. unbind C-b
  3. set -sg escape-time 1
  4. set -g base-index 1
  5. setw -g pane-base-index 1
  6. setw -g mode-keys vi
  7. setw -g mouse on
  8.  
  9. # loud or quiet?
  10. set-option -g visual-activity off
  11. set-option -g visual-bell off
  12. set-option -g visual-silence off
  13. set-window-option -g monitor-activity off
  14. set-option -g bell-action none
  15.  
  16. set -g default-terminal "screen-256color"
  17.  
  18. setw -g mode-attr bold
  19.  
  20. #bind Escape copy-mode
  21. bind -t vi-copy 'v' begin-selection
  22. bind -t vi-copy 'y' copy-selection
  23.  
  24. # Bind jump to pane
  25. bind h select-pane -L
  26. bind j select-pane -D
  27. bind k select-pane -U
  28. bind l select-pane -R
  29.  
  30. bind -r H resize-pane -L 5
  31. bind -r J resize-pane -D 5
  32. bind -r K resize-pane -U 5
  33. bind -r L resize-pane -R 5
  34.  
  35. bind '"' split-window -c "#{pane_current_path}"
  36. bind % split-window -h -c "#{pane_current_path}"
  37. bind c new-window -c "#{pane_current_path}"
  38.  
  39. # For MacOSXgg
  40. bind C-c run "tmux save-buffer - | pbcopy"
  41. bind C-v run "tmux set-buffer \"$(pbpaste)\";tmux paste-buffer"
  42. #set-option -g default-shell /usr/local/bin/bash
  43.  
  44. # TMUX SOLARIZED
  45.  
  46. # TMUX SOLARIZED LIGHT
  47. #### COLOUR (Solarized light)
  48.  
  49. # default statusbar colors
  50. set-option -g status-bg white #base2
  51. set-option -g status-fg yellow #yellow
  52. set-option -g status-attr default
  53.  
  54. # default window title colors
  55. set-window-option -g window-status-fg brightyellow #base00
  56. set-window-option -g window-status-bg default
  57. #set-window-option -g window-status-attr dim
  58.  
  59. # active window title colors
  60. set-window-option -g window-status-current-fg brightred #orange
  61. set-window-option -g window-status-current-bg default
  62. #set-window-option -g window-status-current-attr bright
  63.  
  64. # pane border
  65. set-option -g pane-border-fg white #base2
  66. set-option -g pane-active-border-fg brightcyan #base1
  67.  
  68. # message text
  69. set-option -g message-bg white #base2
  70. set-option -g message-fg brightred #orange
  71.  
  72. # pane number display
  73. set-option -g display-panes-active-colour blue #blue
  74. set-option -g display-panes-colour brightred #orange
  75.  
  76. # clock
  77. set-window-option -g clock-mode-colour green #green
  78.  
  79. # bell
  80. set-window-option -g window-status-bell-style fg=white,bg=red #base2, red
  81.  
  82. # CUSTOM TMUX:
  83. #set-window-option -g status-left " #S "
  84. #set-window-option -g status-left-fg colour136
  85. #set-window-option -g status-left-bg colour234
  86.  
  87. #set-window-option -g status-right " %H:%M %d-%b-%y "
  88. #set-window-option -g status-right-fg colour136
  89. #set-window-option -g status-right-bg colour234
  90.  
  91. set-window-option -g window-status-format " #I: #W "
  92.  
  93. set-window-option -g window-status-current-format " #I: #W "
  94. set-window-option -g window-status-current-fg colour166
  95. set-window-option -g window-status-current-bg colour235
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement