use wl-copy
This commit is contained in:
parent
cbc1a3f7f1
commit
ebdd50f4bd
1 changed files with 5 additions and 5 deletions
|
@ -11,7 +11,6 @@
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
numberwidth = 3;
|
numberwidth = 3;
|
||||||
|
|
||||||
undodir = "$HOME/.cache/nvim/undo-files";
|
|
||||||
undofile = true;
|
undofile = true;
|
||||||
|
|
||||||
mouse = "a";
|
mouse = "a";
|
||||||
|
@ -32,12 +31,12 @@
|
||||||
vim.g.clipboard = {
|
vim.g.clipboard = {
|
||||||
name = "kitty";
|
name = "kitty";
|
||||||
copy = {
|
copy = {
|
||||||
"+" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard"];
|
"+" = ["${pkgs.wl-clipboard}/bin/wl-copy"];
|
||||||
"*" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--use-primary"];
|
"*" = ["${pkgs.wl-clipboard}/bin/wl-copy" "--primary"];
|
||||||
};
|
};
|
||||||
paste = {
|
paste = {
|
||||||
"+" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--get-clipboard"];
|
"+" = ["${pkgs.wl-clipboard}/bin/wl-paste"];
|
||||||
"*" = ["${pkgs.kitty}/bin/kitty" "+kitten" "clipboard" "--get-clipboard" "--use-primary"];
|
"*" = ["${pkgs.wl-clipboard}/bin/wl-paste" "--primary"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -57,5 +56,6 @@
|
||||||
if has('termguicolors')
|
if has('termguicolors')
|
||||||
set termguicolors
|
set termguicolors
|
||||||
endif
|
endif
|
||||||
|
set undodir=$HOME/.cache/nvim/undo-files
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue