From 1e905e922b152d55c663d94cb2bb1a393f80e100 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 5 May 2018 13:35:07 +0000 Subject: [PATCH] update select/paste mode --- home/.tmux.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home/.tmux.conf b/home/.tmux.conf index 2d4ebb2..cee0ca1 100644 --- a/home/.tmux.conf +++ b/home/.tmux.conf @@ -15,14 +15,14 @@ bind | split-window -h unbind - bind - split-window -v -# more ergnomic window and pane numbers +# more ergnomic window numbers set -g base-index 1 setw -g pane-base-index 1 # vim bindings in copy mode -bind-key -T copy-mode-vi v send -X begin-selection -bind-key -T copy-mode-vi y send -X copy-selection -bind-key -T copy-mode-vi p send -X paste-buffer +# HOWTO: PREFIX+[, v, select text, y, PREFIX+] +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel # enable mouse set -g mouse on