Advertisement
Guest User

Untitled

a guest
May 28th, 2015
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. #
  2. ## Evergreen's tmux config file
  3. #
  4.  
  5. # General Settings ------------------------------------------------------- {{{
  6.  
  7. # 256 colors please
  8. set -g terminal-overrides 'xterm:colors=256'
  9.  
  10. # Use vim keys for copy mode
  11. setw -g mode-keys vi
  12.  
  13. # Less stretching for window movement
  14. set -g base-index 1
  15. setw -g pane-base-index 1
  16.  
  17. # Take your time
  18. set -sg repeat-time 600
  19. set -sg escape-time 0
  20.  
  21. # }}}
  22.  
  23. # Bindings --------------------------------------------------------------- {{{
  24.  
  25. # Easy config sourcing
  26. bind R source-file ~/.tmux.conf \; display-message "Config reloaded..."
  27.  
  28. # use c-a as prefix
  29. set -g prefix C-a
  30. bind C-a send-prefix
  31. unbind C-b
  32.  
  33. # easy-to-remember split pane commands
  34. bind | split-window -h
  35. bind - split-window -v
  36. unbind '"'
  37. unbind %
  38.  
  39. # Moar vim-like copy mode bindings
  40. bind ` copy-mode
  41. unbind [
  42. unbind p
  43. bind p paste-buffer
  44. bind -t vi-copy H start-of-line
  45. bind -t vi-copy L end-of-line
  46. bind -t vi-copy v begin-selection
  47. bind -t vi-copy y copy-pipe "xclip -selection clipboard"
  48. bind -t vi-copy Escape cancel
  49. bind y run "tmux save-buffer - | xclip -selection clipboard"
  50.  
  51. # resize panes with vim movement keys
  52. bind -r H resize-pane -L 5
  53. bind -r J resize-pane -D 5
  54. bind -r K resize-pane -U 5
  55. bind -r L resize-pane -R 5
  56.  
  57. # }}}
  58.  
  59. # Status line Settings --------------------------------------------------- {{{
  60.  
  61. # General Settings
  62. set -g status on
  63. set -g status-interval 1
  64. set -g status-utf8 on
  65. set -g status-left-length 80
  66.  
  67. # Positioning/Text Settings
  68. # Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤
  69. set -g status-left " #S "
  70. set -g status-right "#[fg=0,bg=4]%l:%M %p #[fg=0,bg=7] %m/%d/%y "
  71.  
  72. set -g window-status-format "#[fg=white,bg=0] #I #W "
  73. set -g window-status-current-format "#[fg=0,bg=2,noreverse,bold] #I | #W "
  74.  
  75. # Colors
  76. set -g status-bg "0"
  77.  
  78. set -g status-left-bg "7"
  79. set -g status-left-fg "0"
  80.  
  81. set -g status-right-bg "0"
  82. set -g status-right-fg "7"
  83.  
  84. set -g window-status-bg "2"
  85. set -g window-status-fg "0"
  86.  
  87. set -g message-bg "2"
  88. set -g message-fg "0"
  89.  
  90. set -g pane-active-border-fg "2"
  91. set -g pane-active-border-bg "0"
  92. set -g pane-border-fg "7"
  93.  
  94. # }}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement