Fix copy-paste in tmux

This commit is contained in:
Tim Schubert 2021-03-20 14:26:11 +01:00
parent b498fd2ba0
commit cd21dba137
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
3 changed files with 10 additions and 10 deletions

View file

@ -1,16 +1,21 @@
font_family Source Code Pro
font_size 10
bold_font auto
italic_font auto
bold_italic_font auto
copy_on_select no
clipboard_control no-append
clipboard_control read-clipboard write-clipboard no-append
allow_hyperlinks yes
detect_urls yes
strip_trailing_spaces never
window_alert_on_bell yes
enable_audio_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
map ctrl+shift+c no_op
background #1f2022
foreground #a3a3a3

View file

@ -10,11 +10,8 @@ in
config = mkIf cfg.enable {
programs.kitty = {
enable = true;
font = {
package = pkgs.source-code-pro;
name = "Source Code Pro 8";
};
extraConfig = builtins.readFile ./config;
};
home.packages = [ pkgs.source-code-pro ];
};
}

View file

@ -15,12 +15,10 @@ in
set -g automatic-rename on
set -g mode-keys vi
set -g mouse on
set -g set-clipboard on
set -g set-clipboard external
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
'';
};
};