Neovim, <leader>d to peak diagnostics

this helps me see longer diagnostics, and also fixes a weird terminal
display error when proxy remoting to Onizuka
This commit is contained in:
Julia Lange 2025-05-22 09:07:11 -07:00
parent bec3d840cb
commit f6e1ff3986
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto

View file

@ -33,6 +33,9 @@ vim.opt.backup = false
vim.opt.undofile = true
vim.opt.undodir = '/home/pan/.config/nvim/undodir'
-- Error viewing
vim.keymap.set('n', '<Leader>d', function() vim.diagnostic.open_float() end)
-- Easy copy and pasting to external programs
-- map <C-y> "+yy
-- map <C-p> "+P