Advertisement
i4640

tmux_config

Apr 16th, 2023 (edited)
2,191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.90 KB | None | 0 0
  1. #set -g mouse-select-window on
  2. # Selected from https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
  3.  
  4. set -g @plugin 'tmux-plugins/tpm'
  5. set -g @plugin 'tmux-plugins/tmux-sensible'
  6.  
  7. set -g default-terminal screen-256color
  8.  
  9. # switch panes using Alt-arrow without prefix
  10. bind -n M-Left select-pane -L
  11. bind -n M-Right select-pane -R
  12. bind -n M-Up select-pane -U
  13. bind -n M-Down select-pane -D
  14.  
  15. # Enable mouse control (clickable windows, panes, resizable panes)
  16. #set -g mouse-select-window on
  17. #set -g mouse-select-pane on
  18. #set -g mouse-resize-pane on
  19. # Enable mouse mode (tmux 2.1 and above)
  20. set -g mouse on
  21.  
  22. ######################
  23. ### DESIGN CHANGES ###
  24. ######################
  25.  
  26. # loud or quiet?
  27. set -g visual-activity off
  28. set -g visual-bell off
  29. set -g visual-silence off
  30. setw -g monitor-activity off
  31. set -g bell-action none
  32.  
  33. #  modes
  34. setw -g clock-mode-colour colour5
  35. setw -g mode-style 'fg=colour1 bg=colour18 bold'
  36.  
  37. # panes
  38. set -g pane-border-style 'fg=colour19 bg=colour0'
  39. set -g pane-active-border-style 'bg=colour0 fg=colour9'
  40.  
  41. # statusbar
  42. set -g status-position bottom
  43. set -g status-justify left
  44. set -g status-style 'bg=colour18 fg=colour137 dim'
  45. set -g status-left ''
  46. set -g status-right '#[fg=colour233,bg=colour19] %d/%m #[fg=colour233,bg=colour8] %H:%M:%S '
  47. set -g status-right-length 50
  48. set -g status-left-length 20
  49.  
  50. setw -g window-status-current-style 'fg=colour1 bg=colour19 bold'
  51. setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
  52.  
  53. setw -g window-status-style 'fg=colour9 bg=colour18'
  54. setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '
  55.  
  56. setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold'
  57.  
  58. # messages
  59. set -g message-style 'fg=colour232 bg=colour16 bold'
  60.  
  61. set -g @plugin "arcticicestudio/nord-tmux"
  62. run '~/.tmux/plugins/tpm/tpm'
  63. run-shell "~/.tmux/themes/nord-tmux/nord.tmux"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement