dotfiles

custom dotfiles
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit b49a5a367b4e063db7da594243f713873fef901e
parent 5120f85b1457c237ba8b0a1435c302c113b63de9
Author: pyratebeard <root@pyratebeard.net>
Date:   Mon, 12 Jun 2017 22:03:23 +0100

mode key tables removed in tmux 2.4

changes made suggested by patrickwinslow

Diffstat:
Mtmux/.tmux.conf | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -46,8 +46,10 @@ unbind [ bind Escape copy-mode #unbind p #bind p paste-buffer -bind-key -t vi-copy 'v' begin-selection -bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard' +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel \ + "xclip -in -selection clipboard > /dev/null"\; \ + display-message "copied selection to clipboard" # Use vi mode setw -g mode-keys vi