mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
27 lines
451 B
Nix
27 lines
451 B
Nix
{
|
|
example-with-str = {
|
|
clipboard = {
|
|
register = "unnamed";
|
|
|
|
providers.xclip.enable = true;
|
|
};
|
|
};
|
|
|
|
example-with-package = {
|
|
clipboard = {
|
|
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;
|
|
};
|
|
};
|
|
}
|