From 3ee34dbdc274847aaac007bebc38a934ed61b46b Mon Sep 17 00:00:00 2001 From: dadada Date: Thu, 18 Mar 2021 19:28:36 +0100 Subject: [PATCH] Fix content remaining in copy-paste buffers --- modules/home/kitty/config | 15 ++++++++++++++- modules/home/tmux.nix | 9 +++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/modules/home/kitty/config b/modules/home/kitty/config index fda05dc..63b8b01 100644 --- a/modules/home/kitty/config +++ b/modules/home/kitty/config @@ -1,4 +1,17 @@ -enable_audio_bell = false; +copy_on_select no +clipboard_control no-append +allow_hyperlinks yes +detect_urls yes +strip_trailing_spaces never +window_alert_on_bell yes +enable_audio_bell = yes +bell_on_tab yes +tab_bar_style hidden +scrollback_lines 0 + +map ctrl+shift+v no_op +map ctrl+shift+p no_op + background #1f2022 foreground #a3a3a3 selection_background #a3a3a3 diff --git a/modules/home/tmux.nix b/modules/home/tmux.nix index aa3e4cc..5cd465e 100644 --- a/modules/home/tmux.nix +++ b/modules/home/tmux.nix @@ -12,14 +12,15 @@ in enable = true; terminal = "xterm-256color"; extraConfig = '' + set -g automatic-rename on + set -g mode-keys vi set -g mouse on set -g set-clipboard on + set -g set-titles on + set -g status on + set-window-option -g mode-keys vi bind-key -Tcopy-mode v send -X begin-selection bind-key -Tcopy-mode y send -X copy-selection - set -g status on - set-option -g set-titles on - set-option -g automatic-rename on - set-window-option -g mode-keys vi ''; }; };