To enable the mouse to be used as an input device, allowing you to control your computer and applications more efficiently and conveniently with the mouse pointer. This is especially important for GUI work, games, editors, and other applications where using a mouse greatly improves the speed and accuracy of actions.
Tmux is a terminal multiplexer that allows users to run multiple terminal sessions in a single window. It provides the ability to split the screen into multiple panels, switch between them and manage multiple terminal sessions simultaneously.
Some key features of Tmux:
Tmux is particularly useful for developers and system administrators who work with remote servers or need to manage terminal sessions efficiently.
To enable mouse support in Tmux, you need to add the line:
set-option -g mouse on
`~/.tmux.conf`
file (if this file is not already created, you need to create it). After you make changes to the configuration file, you need to restart Tmux (close all session windows and start it again).
After that you will be able to use the mouse in Tmux as follows:
Also, if you have a vertical split, you can use a 2x2 matrix with pixels on the left.
Save your changes, press Ctrl+b : and then run such command to reload tmux:
source ~/.tmux.conf
This completes the tmux setup, the mouse will now work.