請點擊這裏>> 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