Advertisement
randalltux

Untitled

Dec 9th, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. # tmux config
  2. # randalltux
  3. # Dec, 2015
  4.  
  5. setw -g mode-keys vi
  6.  
  7. unbind C-b
  8. set -g prefix M-e
  9. bind M-e send-prefix
  10.  
  11. set -sg escape-time 0
  12.  
  13. bind -n M-h select-pane -L
  14. bind -n M-j select-pane -D
  15. bind -n M-k select-pane -U
  16. bind -n M-l select-pane -R
  17.  
  18. bind -n M-\ split-window -h -c '#{pane_current_path}'
  19. bind -n M-- split-window -v -c '#{pane_current_path}'
  20. bind -n M-= select-layout even-horizontal
  21. bind -n M-+ select-layout even-vertical
  22. bind -n M-n next-window
  23. bind -n M-p previous-window
  24.  
  25. bind-key -nr M-Up resize-pane -U
  26. bind-key -nr M-Down resize-pane -D
  27. bind-key -nr M-Left resize-pane -L
  28. bind-key -nr M-Right resize-pane -R
  29.  
  30. bind-key -n M-PPage copy-mode -u
  31.  
  32. bind-key -n M-u copy-mode
  33. bind-key -n M-i paste-buffer
  34.  
  35. bind-key -n M-8 choose-session
  36. bind-key -n M-9 switch-client -p
  37. bind-key -n M-0 switch-client -n
  38.  
  39. set-option -g history-limit 100000
  40.  
  41. set -g default-terminal "screen-256color"
  42.  
  43. set -g status-bg black
  44. set -g status-fg white
  45. set -g status-left '#[fg=green]#H'
  46. set -g status-right '#[fg=green]#(uptime | cut -d "," -f 3-)'
  47. set -g status off
  48.  
  49. setw -g monitor-activity on
  50. set -g visual-activity on
  51.  
  52. set -g set-titles on
  53. set -g set-titles-string '#S: #W'
  54. setw -g automatic-rename
  55.  
  56. # highlight current window
  57. set-window-option -g window-status-current-fg white
  58. set-window-option -g window-status-current-bg green
  59.  
  60. # set color of active pane
  61. set -g pane-border-fg colour235
  62. set -g pane-border-bg black
  63. set -g pane-active-border-fg green
  64. set -g pane-active-border-bg black
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement