From 198872d3198425ce2c57723c701d84a824e60c7e Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sun, 24 Mar 2024 12:06:30 +0100 Subject: Dotfiles: Tmux: Set up clipboard to work with xclip --- dotfiles/tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dotfiles') diff --git a/dotfiles/tmux.conf b/dotfiles/tmux.conf index 7d6b702..2c66a60 100644 --- a/dotfiles/tmux.conf +++ b/dotfiles/tmux.conf @@ -1,5 +1,7 @@ set-option -sa terminal-overrides ",xterm*:Tc" + set -g mouse on +set -g set-clipboard on set -g default-command "zsh" @@ -51,6 +53,8 @@ set -g @resurrect-strategy-nvim 'session' set -g @catppuccin_flavour 'mocha' set -g @continuum-restore 'on' set -g @continuum-save-interval 4 +set -g @yank_selection 'primary' +set -g @override_copy_command 'xclip' set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' -- cgit 1.4.1