mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
modules/clipboard: add pbcopy clipboard provider
This commit is contained in:
parent
4450d34b4d
commit
416de18306
2 changed files with 18 additions and 5 deletions
|
|
@ -27,4 +27,11 @@
|
|||
providers.wl-copy.enable = pkgs.stdenv.hostPlatform.isLinux;
|
||||
};
|
||||
};
|
||||
|
||||
example-with-builtin = {
|
||||
clipboard = {
|
||||
# pbcopy is only available on darwin, and is built-in
|
||||
providers.pbcopy.enable = pkgs.stdenv.hostPlatform.isDarwin;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue