From 11e06afe34001b9cff5d83d5b6c74a71e896c1cb Mon Sep 17 00:00:00 2001 From: DannyDannyDanny Date: Sun, 12 Nov 2023 16:16:55 +0100 Subject: [PATCH] :art: copy tmux to xsel (system) clipboard --- .tmux.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.tmux.conf b/.tmux.conf index 14d2e32..85dfa0b 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -9,13 +9,14 @@ set-option -g default-terminal "screen-256color" set-option -sa terminal-overrides ',xterm-256color:RGB' # enable mouse support for switching panes/windows -set -g mouse on +# set -g mouse on # extend history set -g history-limit 100000 # set vi keybindings setw -g mode-keys vi +bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xsel -i --clipboard" # reduce escape time set-option -sg escape-time 20