

























Restarting the tmux server every time you change the configuration is tedious and unnecessary.
tmux source-file ~/.tmux.confPrefix + :source-file ~/.tmux.confCTRL + bThose methods reload the tmux configuration without affection the sessions or windows.
Info: some changes still require a restart of the tmux server. If you were to remove a key bind, you would need to restart the tmux server or explicitly unbind the key.
The server stops running if all sessions are closed or you kill it with tmux kill-server or kill the process with pkill/kill. tmux kill-server will send a SIGTERM, where tmux kill-pane/kill-window/kill-session will send a SIGHUP.
Tmux looks in /etc/tmux.conf for a system-wide configuration file, and then for a configuration file in the current user's home directory, e.x. ~/.tmux.conf. If these files don't exist, tmux uses the default settings.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。