use list for kitty clipboard functionality

This commit is contained in:
Charlotte 🦝 Delenk 2022-08-10 09:32:24 +01:00
parent 37700b1cc9
commit cbc1a3f7f1
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -11,7 +11,7 @@
relativenumber = true; relativenumber = true;
numberwidth = 3; numberwidth = 3;
undodir = "~/.cache/nvim/undo-files"; undodir = "$HOME/.cache/nvim/undo-files";
undofile = true; undofile = true;
mouse = "a"; mouse = "a";
@ -32,12 +32,12 @@
vim.g.clipboard = { vim.g.clipboard = {
name = "kitty"; name = "kitty";
copy = { copy = {
"+" = "${pkgs.kitty}/bin/kitty +kitten clipboard"; "+" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard"];
"*" = "${pkgs.kitty}/bin/kitty +kitten clipboard --use-primary"; "*" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--use-primary"];
}; };
paste = { paste = {
"+" = "${pkgs.kitty}/bin/kitty +kitten clipboard --get-clipboard"; "+" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--get-clipboard"];
"*" = "${pkgs.kitty}/bin/kitty +kitten clipboard --get-clipboard --use-primary"; "*" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--get-clipboard" "--use-primary"];
}; };
}; };