Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:tmux [2018/03/07 09:12] billdozor [Tmux Config File] |
linux_wiki:tmux [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 190: | Line 190: | ||
set-option -g default-shell /bin/zsh | set-option -g default-shell /bin/zsh | ||
- | # Mouse wheel scrolling for individual panes | + | # Allow mouse click to select a pane to be active |
+ | set -g mouse-select-pane on | ||
+ | |||
+ | # Mouse wheel scrolling for individual panes (newer versions of tmux; ie Fedora 27) | ||
set -g mouse on | set -g mouse on | ||
bind -n WheelUpPane if-shell -F -t = "# | bind -n WheelUpPane if-shell -F -t = "# | ||
+ | |||
+ | # Mouse wheel scrolling for individual panes (older versions of tmux; ie CentOS 7) | ||
+ | set -g mode-mouse on | ||
</ | </ | ||
* **Notes:** | * **Notes:** | ||
- | * With certain | + | * When enabling |
- | * To copy/paste | + | * To copy/ |
* **hold shift**, select text, copy | * **hold shift**, select text, copy | ||
* **hold shift**, right click, paste (or middle click) | * **hold shift**, right click, paste (or middle click) |