Advertisement
nirgal

tmuxconf

Feb 24th, 2021
4,507
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #basic settings
  2. set -g default-terminal "tmux-256color"
  3. set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
  4. set -sg escape-time 0
  5.  
  6. #keybinds
  7. bind % split-window -h -c "#{pane_current_path}"
  8. bind '"' split-window -v -c "#{pane_current_path}"
  9.  
  10. #tab like window switching
  11. bind -n C-S-Down new-window
  12. bind -n S-Left prev
  13. bind -n S-Right next
  14. bind -n C-S-Left swap-window -t -1
  15. bind -n C-S-Right swap-window -t +1
  16.  
  17. # Styling
  18. set -g status-position top
  19. set -g status-justify right
  20. set -g status-style "bg=Colour10 fg=black"
  21. set -g window-style ""
  22. set -g window-active-style ""
  23. set -g status-left "#[bg=Colour10]  #[bg=Colour4] #{pane_current_command} "
  24. set -g status-left-style "bold"
  25. set -g status-left-length 15
  26. set -g status-right ""
  27. set -g status-right-style ""
  28. set -g status-right-length 10
  29.  
  30. set -g window-status-current-style "bg=Colour10 bold"
  31. set -g window-status-style ""
  32. set -g window-status-format " #{?#{==:#{window_name},fish},#{b:pane_current_path},#W}#{?window_zoomed_flag,.Z,} "
  33. set -g window-status-current-format " #{?#{==:#{window_name},fish},#{b:pane_current_path},#W}#{?window_zoomed_flag,.Z,} "
  34. set -g window-status-separator ""
  35. set -g pane-active-border-style "fg=Colour2"
  36. set -g pane-border-style "fg=Colour0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement