gurksallad

.tmux.conf

Feb 3rd, 2021
1,081
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # .tmux.conf
  2. #
  3. # Prefix is ctrl-b
  4.  
  5. set -g mouse on
  6.  
  7. # Start numbering at 1
  8. set -g base-index 1
  9. setw -g pane-base-index 1     # make pane numbering consistent with windows
  10.  
  11. setw -g automatic-rename on   # rename window to reflect current program
  12. set -g renumber-windows on    # renumber windows when a window is closed
  13.  
  14. set -g set-titles on          # set terminal title
  15.  
  16. set -g display-panes-time 800 # slightly longer pane indicators display time
  17. set -g display-time 1000      # slightly longer status messages display time
  18.  
  19. # Rather than constraining window size to the maximum size of any client
  20. # connected to the *session*, constrain window size to the maximum size of any
  21. # client connected to *that window*. Much more reasonable.
  22. setw -g aggressive-resize on
  23.  
  24. # Automatically set window title
  25. set-window-option -g automatic-rename on
  26. set-option -g set-titles on
  27.  
  28. bind -n M-Left select-pane -L
  29. bind -n M-Right select-pane -R
  30. bind -n M-Up select-pane -U
  31. bind -n M-Down select-pane -D
  32.  
  33. # boost history
  34. set -g history-limit 5000
  35.  
  36. bind | split-window -h
  37. bind - split-window -v
  38.  
  39. bind -n f1 select-window -t :1
  40. bind -n f2 select-window -t :2
  41. bind -n f3 select-window -t :3
  42. bind -n f4 select-window -t :4
  43. bind -n f5 select-window -t :5
  44. bind -n f6 select-window -t :6
  45.  
  46.  
RAW Paste Data