tmux

1.设置vim mode:

.tmux.conf 写入命令:setw -g mode-keys vi
执行tmux source-file ~/.tmux.conf 让配置生效

2.安装tmux tpm

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

.tmux.conf
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'

set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin '[email protected]/user/plugin'
# set -g @plugin '[email protected]/user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
tmux source .tmux.conf
prefix I/U install/ uninsll
prefix ctrl + s/r save/reload session