mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-03 01:25:22 +02:00
modules/clipboard: add new module to manage clipboard option and provider (#346)
This commit is contained in:
parent
9c8bee9da6
commit
73e8649b20
2 changed files with 73 additions and 0 deletions
17
tests/test-sources/modules/clipboard.nix
Normal file
17
tests/test-sources/modules/clipboard.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{pkgs}: {
|
||||
example-with-str = {
|
||||
clipboard = {
|
||||
register = "unnamed";
|
||||
|
||||
providers.xclip.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
example-with-package = {
|
||||
clipboard = {
|
||||
register = ["unnamed" "unnamedplus"];
|
||||
|
||||
providers.xsel.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue