Tmux configuration file

Tmux is my favorite terminal multiplexing software, which allows to disconnect or re-connect the session anytime, anywhere, so the biggest role is to persist the working state on the remote server.

Tmux's support for split-screen is also great, allowing us to easily separate the screen and perform different tasks when using tools such as SSH to connect to the server.

My tmux configuration file (/etc/tmux.conf) is as follows:

# Turn off the status line
set -g status off

# Change the prefix form C-b to Alt-x
unbind C-b
set -g prefix M-x

unbind %
bind - splitw -v
unbind ' " '
bind \ splitw -h

set-window-option -g mode-keys vi
set-window-option -g utf8 on

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325993572&siteId=291194637