UY-Scuti

Mouse mode for tmux

Dec 18th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. # Make mouse useful in copy mode
  2. setw -g mode-mouse on
  3.  
  4. # Allow mouse to select which pane to use
  5. set -g mouse-select-pane on
  6.  
  7. # Allow mouse dragging to resize panes
  8. set -g mouse-resize-pane on
  9.  
  10. # Allow mouse to select windows
  11. set -g mouse-select-window on
  12.  
  13. # Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
  14. # (commented out because it disables cursor navigation in vim)
  15. #set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
  16.  
  17. # Scroll History
  18. set -g history-limit 30000
  19.  
  20. # Set ability to capture on start and restore on exit window data when running an application
  21. setw -g alternate-screen on
  22.  
  23. # Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
  24. set -s escape-time 50
Add Comment
Please, Sign In to add comment