首页 > 代码库 > [tmux] Enable mouse mode in tmux

[tmux] Enable mouse mode in tmux

We‘ll learn how to use mouse mode in tmux, including enable mouse control for resizing, scrolling and selecting panes. We‘ll also set keybindings in our tmux configuration to control mouse mode.

 

Set mouse on:

C-b  :set mouse on

 

Set mouse on / off though conf

# Binding for mouse mode# m to turn on, M to turn offbind m set -g mouse onbind M set -g mouse off

 

[tmux] Enable mouse mode in tmux