From 2f605f0c9949471d386f99bd74ebd252d61cc804 Mon Sep 17 00:00:00 2001 From: Alexander Karle Date: Fri, 16 Feb 2018 10:32:52 -0500 Subject: [PATCH] No longer using mouse for tmux --- tmux.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tmux.conf b/tmux.conf index 9acd3ec..951bd0d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -26,8 +26,10 @@ bind C-j select-pane -D bind C-k select-pane -U bind C-l select-pane -R -# set mouse on for scrolling -set -g mouse on +# set vi-bindings for scrolling +set-window-option -g mode-keys vi +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel # set window and pane numbering to start at 1 set -g base-index 1 -- libgit2 0.28.4