mirror of
https://github.com/materusPL/nixos-config
synced 2026-03-25 11:17:22 +01:00
Use system clipboard in neovim
This commit is contained in:
parent
8b9b884bc3
commit
1cecb465c2
@ -1,3 +1,6 @@
|
|||||||
|
vim.wo.number = true
|
||||||
|
vim.opt.clipboard:append { 'unnamed', 'unnamedplus' }
|
||||||
|
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if vim.fn.executable("git") == 1 then
|
if vim.fn.executable("git") == 1 then
|
||||||
if not (vim.uv or vim.loop).fs_stat(lazypath) 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)
|
require("lazy").setup(plugins, opts)
|
||||||
|
|
||||||
vim.cmd [[colorscheme dracula]]
|
vim.cmd [[colorscheme dracula]]
|
||||||
vim.cmd [[set number]]
|
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user