nix-community.nixvim/tests/test-sources/modules/clipboard.nix

28 lines
451 B
Nix
Raw Permalink Normal View History

{
example-with-str = {
clipboard = {
register = "unnamed";
providers.xclip.enable = true;
};
};
example-with-package = {
clipboard = {
2024-05-05 19:39:35 +02:00
register = [
"unnamed"
"unnamedplus"
];
providers.xsel.enable = true;
};
};
example-with-raw-lua = {
clipboard = {
register.__raw = ''vim.env.SSH_TTY and "" or "unnamedplus"'';
providers.wl-copy.enable = true;
};
};
}