changed to better unnameplus

This commit is contained in:
2026-03-16 14:53:17 +02:00
parent 1ad06b82a6
commit 15091b4efb

View File

@@ -20,9 +20,7 @@ vim.opt.inccommand = 'split'
vim.opt.cursorline = true vim.opt.cursorline = true
vim.opt.scrolloff = 10 vim.opt.scrolloff = 10
-- vim.opt.textwidth = 80 -- vim.opt.textwidth = 80
vim.schedule(function() vim.opt.clipboard:append 'unnamedplus'
vim.opt.clipboard = 'unnamedplus'
end)
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>') vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })