Guest User

Untitled

a guest
Nov 15th, 2018
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. #set -g default-terminal "rxvt-unicode-256color"
  2. # 0 is too far from ` ;)
  3. set -g base-index 1
  4.  
  5. # Automatically set window title
  6. set-window-option -g automatic-rename on
  7. set-option -g set-titles on
  8.  
  9. #set -g default-terminal screen-256color
  10. set -g status-keys vi
  11. set -g history-limit 10000
  12.  
  13. setw -g mode-keys vi
  14. set -g mouse on
  15. setw -g monitor-activity on
  16.  
  17. bind-key v split-window -h
  18. bind-key s split-window -v
  19.  
  20. bind-key J resize-pane -D 5
  21. bind-key K resize-pane -U 5
  22. bind-key H resize-pane -L 5
  23. bind-key L resize-pane -R 5
  24.  
  25. bind-key M-j resize-pane -D
  26. bind-key M-k resize-pane -U
  27. bind-key M-h resize-pane -L
  28. bind-key M-l resize-pane -R
  29.  
  30. # Vim style pane selection
  31. bind h select-pane -L
  32. bind j select-pane -D
  33. bind k select-pane -U
  34. bind l select-pane -R
  35.  
  36. # Use Alt-vim keys without prefix key to switch panes
  37. bind -n M-h select-pane -L
  38. bind -n M-j select-pane -D
  39. bind -n M-k select-pane -U
  40. bind -n M-l select-pane -R
  41.  
  42. # Use Alt-arrow keys without prefix key to switch panes
  43. bind -n M-Left select-pane -L
  44. bind -n M-Right select-pane -R
  45. bind -n M-Up select-pane -U
  46. bind -n M-Down select-pane -D
  47.  
  48. # Shift arrow to switch windows
  49. bind -n S-Left previous-window
  50. bind -n S-Right next-window
  51.  
  52. # No delay for escape key press
  53. set -sg escape-time 0
  54.  
  55. # Reload tmux config
  56. bind r source-file ~/.tmux.conf
  57.  
  58. # THEME
  59. set -g status-bg black
  60. set -g status-fg white
  61. set -g window-status-current-bg white
  62. set -g window-status-current-fg black
  63. set -g window-status-current-attr bold
  64. set -g status-interval 60
  65. set -g status-left-length 30
  66. set -g status-left '#[fg=green](#S) #(whoami)'
  67. set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=white]%H:%M#[default]'
Add Comment
Please, Sign In to add comment