Advertisement
anujpandey

tmux-1.8.conf

Nov 9th, 2022
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. set-option -g status-utf8 on
  2. set-option -g status-bg colour235 #base02
  3. set-option -g status-fg colour136 #yellow
  4. set-option -g status-attr default
  5.  
  6. # default window title colors
  7. set-window-option -g window-status-fg colour244 #base0
  8. set-window-option -g window-status-bg default
  9.  
  10. # active window title colors
  11. set-window-option -g window-status-current-fg colour166 #orange
  12. set-window-option -g window-status-current-bg default
  13.  
  14. # pane border
  15. set-option -g pane-border-fg colour235 #base02
  16. set-option -g pane-active-border-fg colour240 #base01
  17.  
  18. # message text
  19. set-option -g message-bg colour235 #base02
  20. set-option -g message-fg colour166 #orange
  21.  
  22. # pane number display
  23. set-option -g display-panes-active-colour colour33 #blue
  24. set-option -g display-panes-colour colour166 #orange
  25. # clock
  26. set-window-option -g clock-mode-colour green #green
  27. set -g status-interval 1
  28. set -g status-justify centre # center align window list
  29. set -g status-left-length 55
  30. set -g status-right-length 140
  31. set -g status-left '#[fg=green]#(~/molecule.sh) #[fg=black]• #[fg=green,bright]#(uname -r | cut -c 1-6)#[default]'
  32. set -g status-right '#[fg=red,dim,bg=default]#(~/branch.sh) #[fg=white,bg=default]%a%l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d'
  33.  
  34. # Start numbering at 1
  35. set -g base-index 1
  36.  
  37. # Allows for faster key repetition
  38. set -s escape-time 0
  39.  
  40. # Rather than constraining window size to the maximum size of any client
  41. # connected to the *session*, constrain window size to the maximum size of any
  42. # client connected to *that window*. Much more reasonable.
  43. setw -g aggressive-resize on
  44.  
  45. # Allows us to use C-a a <command> to send commands to a TMUX session inside
  46. # another TMUX session
  47. bind-key a send-prefix
  48.  
  49. # Activity monitoring
  50. setw -g monitor-activity on
  51. set -g visual-activity on
  52.  
  53. # Highlight active window
  54. #set-window-option -g window-status-current-bg red
  55.  
  56. # Vi copypaste mode
  57. set-window-option -g mode-keys vi
  58. bind-key -t vi-copy 'v' begin-selection
  59. bind-key -t vi-copy 'y' copy-selection
  60.  
  61. # hjkl pane traversal
  62. bind h select-pane -L
  63. bind j select-pane -D
  64. bind k select-pane -U
  65. bind l select-pane -R
  66.  
  67. # reload config
  68. bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
  69.  
  70. # auto window rename
  71. set-window-option -g automatic-rename
  72.  
  73. # rm mouse mode fail
  74. set -g mode-mouse on
  75. set -g mouse-select-window on
  76. set -g mouse-select-pane on
  77. set -g mouse-resize-pane on
  78. set -g mouse-utf on
  79.  
  80. # color
  81. set -g default-terminal "screen-256color"
  82.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement