(nvim) fixed clipboard selection

This commit is contained in:
zegonix
2026-04-20 15:22:24 +02:00
parent d362f03534
commit 64d8115fbe
+5 -7
View File
@@ -3,9 +3,7 @@ vim.wo.number = true
vim.o.relativenumber = true
-- sync clipboards of nvim and os
vim.schedule(function()
vim.opt.clipboard = "unnamedplus"
end)
vim.opt.clipboard = "unnamedplus"
-- disable line wrap..
vim.o.wrap = false
@@ -30,10 +28,10 @@ vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>") -- clear search highlight on
vim.api.nvim_create_autocmd("FileType", {
pattern = "*",
callback = function()
vim.o.tabstop = 4
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = true
vim.o.tabstop = 4
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = true
end,
})