aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]linux.tmux.config2
-rwxr-xr-x[-rw-r--r--]mac.tmux.config1
-rw-r--r--tmux.config2
3 files changed, 1 insertions, 4 deletions
diff --git a/linux.tmux.config b/linux.tmux.config
index b5a43f3..091b4f0 100644..100755
--- a/linux.tmux.config
+++ b/linux.tmux.config
@@ -1,3 +1,3 @@
# vim: syntax=conf
-bind -T copy-mode-vi y copy-pipe "tmux save-buffer - | xp"
+bind -Tcopy-mode-vi y send -X copy-pipe-and-cancel "tmux save-buffer - | xp"
diff --git a/mac.tmux.config b/mac.tmux.config
index f086af2..38f7d0f 100644..100755
--- a/mac.tmux.config
+++ b/mac.tmux.config
@@ -1,7 +1,6 @@
# vim: syntax=conf
# Setup 'v' to begin selection as in Vim
-bind -T copy-mode-vi v begin-selection
bind -T copy-mode-vi y copy-pipe "reattach-to-user-namespace pbcopy"
# Update default binding of `Enter` to also use copy-pipe
unbind -T copy-mode-vi Enter
diff --git a/tmux.config b/tmux.config
index 9f41a64..790b781 100644
--- a/tmux.config
+++ b/tmux.config
@@ -31,8 +31,6 @@ bind C-v resize-pane -Z
# Settings
#####################################
-# Setup 'v' to begin selection as in Vim
-bind -T copy-mode-vi v begin-selection
# Help with the color problems
set -g default-terminal "screen-256color"
# Mouse Scrolling