From 2bf5ea07d0eb0f24af6508a9ac17ca83118d4ae2 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Fri, 3 May 2024 16:29:43 +0100 Subject: [PATCH] Add proper copy/paste to tmux --- dotfiles/.tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf index d38759eb..523bc6b0 100644 --- a/dotfiles/.tmux.conf +++ b/dotfiles/.tmux.conf @@ -67,10 +67,10 @@ set-window-option -g automatic-rename # Vi copypaste mode set-window-option -g mode-keys vi -bind-key -n g copy-mode +bind g copy-mode bind -T copy-mode-vi v send -X begin-selection bind-key -T copy-mode-vi y send -X copy-selection-and-cancel -bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel +bind P paste-buffer # highlight color set -g mode-style "fg=black,bg=color167"