瀏覽代碼

Remove tmux vi copy/paste

The binding command has changed across versions of tmux. Rather than
write a conditional, we remove this customisation and stick with the
normal commands. It is used infrequently enough that this has proven
okay.
cinaeco 7 年之前
父節點
當前提交
019f8ba2f5
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      tmux/tmux.conf

+ 0 - 4
tmux/tmux.conf

@@ -33,10 +33,6 @@ set-window-option -g mode-keys vi # vi keys in copy mode (prefix+[)
 # General Key Bindings
 #######################
 
-# Act like vim. Enhance copy mode to use more vim like keys for copying.
-bind-key -t vi-copy 'v' begin-selection
-bind-key -t vi-copy 'y' copy-selection
-
 # Use prefix+r to reload the config file.
 bind-key C-r source-file ~/.tmux.conf \; display-message "tmux.conf reloaded"