From 1cecb465c27d377b13d6fb77883c9cf0a2ba5e7a Mon Sep 17 00:00:00 2001 From: materus Date: Fri, 20 Mar 2026 12:02:20 +0100 Subject: [PATCH] Use system clipboard in neovim --- config/editor/neovim/init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/editor/neovim/init.lua b/config/editor/neovim/init.lua index 1320217..1d31a67 100644 --- a/config/editor/neovim/init.lua +++ b/config/editor/neovim/init.lua @@ -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