Fix copy-paste in tmux
This commit is contained in:
parent
b498fd2ba0
commit
cd21dba137
3 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue