请点击这里>> here << ;git
使用手册>> here <<;github
vim .tmux.conf
# 设置前缀为Ctrl + a set -g prefix C-a # 解除Ctrl+b 与前缀的对应关系 unbind C-b # 将r设置为加载配置文件 bind r source-file ~/.tmux.conf # copy-mode 将快捷键设置为vi 模式 setw -g mode-keys vi # 容许鼠标(开启后能够用滚轮滚动) set-option -g mouse on bind-key -t vi-copy MouseDragEnd1Pane copy-pipe "xclip -selection clipboard -i"
tmux source-file ~/.tmux.conf