aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux.tmux.config2
-rw-r--r--mac.tmux.config8
-rw-r--r--tmux.config2
3 files changed, 6 insertions, 6 deletions
diff --git a/linux.tmux.config b/linux.tmux.config
index 9eee314..b5a43f3 100644
--- a/linux.tmux.config
+++ b/linux.tmux.config
@@ -1,3 +1,3 @@
# vim: syntax=conf
-bind -t vi-copy y copy-pipe "tmux save-buffer - | xp"
+bind -T copy-mode-vi y copy-pipe "tmux save-buffer - | xp"
diff --git a/mac.tmux.config b/mac.tmux.config
index 6dc1089..f086af2 100644
--- a/mac.tmux.config
+++ b/mac.tmux.config
@@ -1,10 +1,10 @@
# vim: syntax=conf
# Setup 'v' to begin selection as in Vim
-bind -t vi-copy v begin-selection
-bind -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"
+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 vi-copy Enter
-bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
+unbind -T copy-mode-vi Enter
+bind-key -T copy-mode-vi Enter copy-pipe "reattach-to-user-namespace pbcopy"
# Allow pbcopy inside of session
set-option -g default-command "reattach-to-user-namespace -l zsh"
diff --git a/tmux.config b/tmux.config
index 594dbcf..6fcc4b3 100644
--- a/tmux.config
+++ b/tmux.config
@@ -34,7 +34,7 @@ bind C-m run-shell "$HOME/.tmux/scripts/bottom_window_drawer.sh"
#####################################
# Setup 'v' to begin selection as in Vim
-bind -t vi-copy v begin-selection
+bind -T copy-mode-vi v begin-selection
# Help with the color problems
set -g default-terminal "screen-256color"
# Mouse Scrolling