Skip to content

Commit

Permalink
terminal/editors/neovim: clipboard providers wl-copy package
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jul 24, 2024
1 parent da6013d commit 23044e3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions modules/home/programs/terminal/editors/neovim/options.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
{ lib, ... }:
{ lib, pkgs, ... }:
let
inherit (lib) mkDefault;
in
{
programs.nixvim = {

clipboard = {
# Use system clipboard
register = "unnamedplus";

providers.wl-copy.enable = true;
providers = {
wl-copy = {
enable = true;
package = pkgs.wl-clipboard;
};
};
};

globals = {
Expand Down

0 comments on commit 23044e3

Please sign in to comment.