vim.keymap.set('n', '<leader>p', vim.diagnostic.goto_prev )
vim.keymap.set('n', '<leader>R', vim.lsp.buf.rename )
vim.keymap.set('n', '<leader>k', vim.lsp.buf.hover )
-vim.keymap.set('n', '<leader>d',
+vim.keymap.set('n', '<leader>K', vim.diagnostic.open_float )
+vim.keymap.set('n', '<leader>d',
function()
if vim.g.visible_diagnostics then
vim.diagnostic.disable()
vim.g.visible_diagnostics = true
vim.o.mousefocus = true
-vim.o.mousemodel= 'extend'
+vim.o.mousemodel = 'extend'
+vim.o.clipboard = 'unnamedplus,unnamed'
vim.o.lazyredraw = true