From 4360c3b7ce64d1d6fe46acc986b0f1d28d2cb1c2 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Mon, 24 Apr 2017 23:42:18 -0400 Subject: [PATCH] Update to reflect changes in 2.4 --- tmux.normal.conf | 6 +++--- tmux.powerline.conf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tmux.normal.conf b/tmux.normal.conf index bf70c71..9e02f30 100644 --- a/tmux.normal.conf +++ b/tmux.normal.conf @@ -122,9 +122,9 @@ bind C-v run "xclip -o | tmux load-buffer - ; tmux paste-buffer" bind C-y run "tmux show-buffer | xclip -sel clip" # # (copy mode) v,y and escape to select, copy and cancel respectively -bind -t vi-copy y copy-selection -bind -t vi-copy v begin-selection -bind -t vi-copy Escape cancel +bind -Tcopy-mode-vi y send -X copy-selection +bind -Tcopy-mode-vi v send -X begin-selection +bind -Tcopy-mode-vi Escape send -X cancel # # bind [0-9] to switching directly to the respective window bind -n M-1 select-window -t 1 diff --git a/tmux.powerline.conf b/tmux.powerline.conf index ab0b6eb..0cb8904 100644 --- a/tmux.powerline.conf +++ b/tmux.powerline.conf @@ -122,9 +122,9 @@ bind C-v run "xclip -o | tmux load-buffer - ; tmux paste-buffer" bind C-y run "tmux show-buffer | xclip -sel clip" # # (copy mode) v,y and escape to select, copy and cancel respectively -bind -t vi-copy y copy-selection -bind -t vi-copy v begin-selection -bind -t vi-copy Escape cancel +bind -Tcopy-mode-vi y send -X copy-selection +bind -Tcopy-mode-vi v send -X begin-selection +bind -Tcopy-mode-vi Escape send -X cancel # # bind [0-9] to switching directly to the respective window bind -n M-1 select-window -t 1