From c52610b3cd8be9c51a5db696f943548e88925520 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Wed, 30 Sep 2026 01:44:56 +0200 Subject: nvim: don't use system clipboard as default yank register --- nvim/init.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nvim') diff --git a/nvim/init.lua b/nvim/init.lua index 52540cc..e906dd0 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -13,9 +13,8 @@ vim.o.number = true vim.o.signcolumn = "yes" -- always shows column to the left from numbers, prevents content shift when git diff is added/removed vim.cmd("colorscheme gruvbox") vim.cmd("compiler tsc") -- sets "tsc" as compiler for :make command -vim.cmd("cnoreabbrev fzf FzfLua") -vim.cmd("set iskeyword+=$") -- treat $ as part of word -vim.cmd("set clipboard=unnamedplus") -- treat $ as part of word +-- vim.cmd("set iskeyword+=$") -- treat $ as part of word +-- vim.cmd("set clipboard=unnamedplus") -- use system clipboard as + register -- auto-enable tree-sitter; pcall hides error if buffer unsupported vim.api.nvim_create_autocmd("FileType", { -- cgit v1.3.1