Mouse support
Mouse support¶
To enable mouse support in tmux for scrolling, you can either:
-
Run this command in your current tmux session:
-
Or add this line to your ~/.tmux.conf file for permanent effect:
After adding it to the config file, you'll need to either: - Reload tmux config with: tmux source-file ~/.tmux.conf
- Or restart tmux
With mouse mode enabled, you can: - Use the mouse wheel to scroll through terminal history - Click and drag to select text - Click pane borders to resize them