Guest User

Untitled

a guest
Jul 22nd, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. # memo
  2. # green: colour46
  3. # pink: colour200
  4.  
  5.  
  6. # window
  7. set-option -g default-terminal screen-256color
  8. set -g terminal-overrides 'xterm:colors=256'
  9.  
  10. #set -g display-panes-active-colour colour237
  11.  
  12. set -g status-interval 1
  13. set -g status-position top
  14.  
  15. set -g status-fg colour255
  16. set -g status-bg colour237
  17.  
  18.  
  19. # left panel
  20. set -g status-left-length 60
  21. set -g status-left-fg colour200
  22. set -g status-left-bg colour237
  23. set-option -g status-left '#{?client_prefix, \(^o^)/<[ Session: #S ]#[bg=colour237] #[fg=colour237]#[bg=yellow] ! , \(^o^)/<[ Session: #S ]#[bg=colour237] }'
  24.  
  25. # center panel
  26. set -g status-justify "centre"
  27. set-window-option -g window-status-format "<< #I: #W >>"
  28. set-window-option -g window-status-current-format "#[fg=colour200]<< #[fg=colour46]#I: #W #[fg=colour200]>>"
  29. set-window-option -g window-status-fg colour200
  30. set-window-option -g window-status-bg colour237
  31. set-window-option -g window-status-current-fg colour200
  32. set-window-option -g window-status-current-bg colour237
  33.  
  34.  
  35. # right panel
  36. set -g status-right-length 60
  37. set -g status-right-bg colour237
  38. set -g status-right-fg colour46
  39. set -g status-right "[ #H | %m/%d %H:%M:%S ]>\\(-v-)/ "
  40.  
  41.  
  42.  
  43. # key
  44. ## reduce delay to input escape sequence
  45. set -sg escape-time 0
  46.  
  47. ## set reload tmux config file to "r" key
  48. bind r source-file ~/.tmux.conf \; display "Reloaded!"
  49.  
  50. set-option -g mouse off
  51. unbind C-b
  52. set -g prefix C-x
  53.  
  54. ## pane action
  55. bind - split-window -v
  56. bind | split-window -h
  57.  
  58. bind j select-pane -D
  59. bind k select-pane -U
  60. bind h select-pane -L
  61. bind l select-pane -R
  62.  
  63. bind -r Up resize-pane -U 3
  64. bind -r Down resize-pane -D 3
  65. bind -r Left resize-pane -L 3
  66. bind -r Right resize-pane -R 3
  67.  
  68.  
  69.  
  70. # Pane
  71. # fg color
  72. set -g pane-border-fg colour46
  73. # bg color
  74. #set -g pane-border-bg black
  75. set -g pane-border-bg black
  76.  
  77. # active pane fg color
  78. set -g pane-active-border-fg colour200
  79. # active pain bg color
  80. set -g pane-active-border-bg black
  81.  
  82. # time
  83. set-window-option -g clock-mode-colour colour200
  84.  
  85. # mouse
  86. #set-option -g mouse on
  87. ##set -g mouse-resize-pane on
  88.  
  89. # window
  90. setw -g automatic-rename off
  91.  
  92. # Rename window number when a window is closed
  93. set-option -g renumber-windows on
  94.  
  95. # Window number begins from 1
  96. set-option -g base-index 1
  97. setw -g pane-base-index 1
  98.  
  99. # copy mode
  100. set-window-option -g mode-keys vi
  101. bind Space copy-mode
  102. bind p paste-buffer
Add Comment
Please, Sign In to add comment