.zshrc配置

vim ~/.zshrc

plugins=(git tmux) # 加入tmux, 然后保存退出

source ~/.zshrc

tmux 快捷键

AliasCommandDescription
tatmux attach -tAttach new tmux session to already running named session
tadtmux attach -d -tDetach named tmux session
tstmux new-session -sCreate a new named tmux session
tltmux list-sessionsDisplays a list of running tmux sessions
tksvtmux kill-serverTerminate all running tmux sessions
tksstmux kill-session -tTerminate named running tmux session
tmux_zsh_tmux_plugin_runStart a new tmux session