added system clipboard keybind

main
KeeganForelight 2 years ago
parent 185e158b7f
commit a31384aa44

@ -12,6 +12,8 @@ vim.cmd('set ts=4 sts=4 sw=4 expandtab')
-- clipboard
vim.cmd('set clipboard+=unnamedplus')
vim.keymap.set('n', '<leader>Y', '"+y')
vim.keymap.set('n', '<leader>P', '"+p')
-- hybrid numbering
vim.opt.relativenumber = true
@ -133,6 +135,8 @@ vim.diagnostic.config({
vim.api.nvim_create_autocmd('LspAttach', {
callback = function(ev)
-- custom colors
vim.set('hi DiagnosticUnderlineError cterm=undercurl guisp=Red')
-- key mappings
local opts = { buffer = ev.buf,}
-- error viewing

Loading…
Cancel
Save