From 84e722467adcbb958d0e0742b44d47288feef079 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 21 Nov 2025 09:40:15 -0500 Subject: [PATCH] bring back mouse with fix for kitty --- .chezmoiexternal.toml | 2 +- dot_config/kitty/kitty.conf | 4 +++- dot_config/tmux/tmux.conf | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index 95bb293..0445c44 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -1,7 +1,7 @@ [".config/kitty/kitty-gruvbox-theme"] type = "archive" url = "https://github.com/wdomitrz/kitty-gruvbox-theme/archive/master.tar.gz" -exact = true +exact = false stripComponents = 1 refreshPeriod = "168h" diff --git a/dot_config/kitty/kitty.conf b/dot_config/kitty/kitty.conf index 5c3ca15..44ed690 100644 --- a/dot_config/kitty/kitty.conf +++ b/dot_config/kitty/kitty.conf @@ -682,7 +682,7 @@ font_size 10.0 #: Terminal bell {{{ -# enable_audio_bell yes +enable_audio_bell no #: The audio bell. Useful to disable it in environments that require #: silence. @@ -1420,6 +1420,8 @@ background_opacity 0.95 #: config is not supported. # clipboard_control write-clipboard write-primary read-clipboard-ask read-primary-ask +# added per https://github.com/tmux/tmux/wiki/Clipboard#terminal-support---kitty +clipboard_control write-primary write-clipboard no-append #: Allow programs running in kitty to read and write from the #: clipboard. You can control exactly which actions are allowed. The diff --git a/dot_config/tmux/tmux.conf b/dot_config/tmux/tmux.conf index 2732dfd..6c5db3e 100644 --- a/dot_config/tmux/tmux.conf +++ b/dot_config/tmux/tmux.conf @@ -1,6 +1,6 @@ # vim keybindings in copy mode set-window-option -g mode-keys vi -# set-option -g mouse on +set-option -g mouse on # set-option -s set-clipboard off bind P paste-buffer bind-key -T copy-mode-vi v send-keys -X begin-selection