tmux -V
当前版本:tmux 1.8
第9,10,11,2行配置有问题,bind-key
, mouse
实现同样的配置,对应当前的版本需要如何配置?大概
贴一下当前的配置:
# mouse scroll
set -g mouse on
# copy mode use vi
setw -g mode-keys vi
# bind keys for vi copy-mode
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
# open new pane in same directory.
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…