User Tools

Site Tools


other:tmux_terminal_multiplexing

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
other:tmux_terminal_multiplexing [2021/04/02 18:50]
nanodano [Windows]
other:tmux_terminal_multiplexing [2022/03/23 16:27] (current)
nanodano
Line 46: Line 46:
 tmux list-commands tmux list-commands
 # Within tmux press ''CTRL-b ?'' # Within tmux press ''CTRL-b ?''
 +</code>
 +
 +===== Enabling mouse =====
 +
 +With mouse enabled, you can click between split windows and use the mouse to resize. You can also right click on panes and in the bottom left corner to switch windows and manage processes. It adds a lot of really nice functionality.
 +
 +You must specify ''setw -g mouse on'' in a tmux conf file. For example:
 +
 +<code - .tmux.conf>
 +# ~/.tmux.conf
 +
 +# Enable mouse
 +set -g mouse on
 +</code>
 +
 +<code bash>
 +# Then run tmux as normal
 +tmux
 +# OR to be explicit
 +tmux source-file ~/.tmux.conf
 </code> </code>
  
other/tmux_terminal_multiplexing.1617389409.txt.gz ยท Last modified: 2021/04/02 18:50 by nanodano