Advertisement
Guest User

Untitled

a guest
Jun 1st, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. # base
  2. set -g utf8
  3. set-window-option -g utf8 on
  4. set -g default-terminal "screen-256color"
  5. setw -g mode-keys vi
  6. setw -g mode-mouse on
  7.  
  8.  
  9. # prefix and reload key
  10. unbind C-b
  11. set-option -g prefix C-a
  12. bind-key C-a send-prefix
  13. bind r source-file ~/.tmux.conf
  14.  
  15. # key binding
  16. set -s escape-time 0
  17.  
  18. # window & pane key
  19. bind | split-window -h -c "#{pane_current_path}"
  20. bind - split-window -v -c "#{pane_current_path}"
  21. bind '"' split-window -c "#{pane_current_path}"
  22. bind % split-window -h -c "#{pane_current_path}"
  23. bind c new-window -c "#{pane_current_path}"
  24. bind C new-window -c
  25. bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard'
  26.  
  27. bind h select-pane -L
  28. bind j select-pane -D
  29. bind k select-pane -U
  30. bind l select-pane -R
  31.  
  32. bind H resize-pane -L 5
  33. bind J resize-pane -D 5
  34. bind K resize-pane -U 5
  35. bind L resize-pane -R 5
  36.  
  37. # window & pane config
  38. set -g base-index 1
  39. set -g pane-base-index 1
  40.  
  41. # status bar config
  42. set -g status-position top
  43. set -g status-utf8 on
  44.  
  45. set -g status-bg black
  46. set -g status-fg white
  47. set -g status-attr dim
  48.  
  49. setw -g status-left ""
  50. setw -g status-right " #S :: %H:%M "
  51. setw -g status-right-bg black
  52. setw -g status-right-fg green
  53.  
  54. setw -g window-status-format " #I: #W "
  55. setw -g window-status-bg black
  56. setw -g window-status-fg green
  57.  
  58. setw -g window-status-current-format " #I: #W "
  59. setw -g window-status-current-bg green
  60. setw -g window-status-current-fg colour16
  61.  
  62. set -g pane-border-bg colour235
  63. set -g pane-border-fg colour238
  64. set -g pane-active-border-bg colour236
  65. set -g pane-active-border-fg colour51
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement