use wl-copy

This commit is contained in:
Charlotte 🦝 Delenk 2022-08-10 09:54:05 +01:00
parent cbc1a3f7f1
commit ebdd50f4bd
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -11,7 +11,6 @@
relativenumber = true; relativenumber = true;
numberwidth = 3; numberwidth = 3;
undodir = "$HOME/.cache/nvim/undo-files";
undofile = true; undofile = true;
mouse = "a"; mouse = "a";
@ -32,12 +31,12 @@
vim.g.clipboard = { vim.g.clipboard = {
name = "kitty"; name = "kitty";
copy = { copy = {
"+" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard"]; "+" = ["${pkgs.wl-clipboard}/bin/wl-copy"];
"*" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--use-primary"]; "*" = ["${pkgs.wl-clipboard}/bin/wl-copy" "--primary"];
}; };
paste = { paste = {
"+" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--get-clipboard"]; "+" = ["${pkgs.wl-clipboard}/bin/wl-paste"];
"*" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--get-clipboard" "--use-primary"]; "*" = ["${pkgs.wl-clipboard}/bin/wl-paste" "--primary"];
}; };
}; };
@ -57,5 +56,6 @@
if has('termguicolors') if has('termguicolors')
set termguicolors set termguicolors
endif endif
set undodir=$HOME/.cache/nvim/undo-files
''; '';
} }