From 6528a72bb98c7cdfd5a869f1a56f532ca9391e18 Mon Sep 17 00:00:00 2001 From: xinyz Date: Mon, 13 Dec 2021 09:13:15 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0tmux=203.x=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tmux/3.x/tmux.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tmux/3.x/tmux.conf diff --git a/tmux/3.x/tmux.conf b/tmux/3.x/tmux.conf new file mode 100644 index 0000000..e626d19 --- /dev/null +++ b/tmux/3.x/tmux.conf @@ -0,0 +1,12 @@ + +unbind C-b +set-option -g prefix C-s +set-window-option -g mode-keys vi +set-window-option -g status-keys vi + +unbind ] +bind P paste-buffer + +bind-key -T copy-mode-vi 'v' send-keys -X begin-selection +bind-key -T copy-mode-vi 'y' send-keys -X copy-selection +bind-key -T copy-mode-vi 'r' send-keys -X rectangle-toggle