Use system clipboard in neovim

This commit is contained in:
2026-03-20 12:02:20 +01:00
parent 8b9b884bc3
commit 1cecb465c2
+3 -2
View File
@@ -1,3 +1,6 @@
vim.wo.number = true
vim.opt.clipboard:append { 'unnamed', 'unnamedplus' }
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if vim.fn.executable("git") == 1 then
if not (vim.uv or vim.loop).fs_stat(lazypath) then
@@ -36,7 +39,5 @@ if vim.fn.executable("git") == 1 then
}
require("lazy").setup(plugins, opts)
vim.cmd [[colorscheme dracula]]
vim.cmd [[set number]]
end