Advertisement
learnlinuxtv

tmux config

Dec 16th, 2019
14,632
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. # Send prefix
  2. set-option -g prefix C-a
  3. unbind-key C-a
  4. bind-key C-a send-prefix
  5.  
  6. # Use Alt-arrow keys to switch panes
  7. bind -n M-Left select-pane -L
  8. bind -n M-Right select-pane -R
  9. bind -n M-Up select-pane -U
  10. bind -n M-Down select-pane -D
  11.  
  12. # Shift arrow to switch windows
  13. bind -n S-Left previous-window
  14. bind -n S-Right next-window
  15.  
  16. # Mouse mode
  17. setw -g mouse on
  18.  
  19. # Set easier window split keys
  20. bind-key v split-window -h
  21. bind-key h split-window -v
  22.  
  23. # Easy config reload
  24. bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement