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:
parent
bec3d840cb
commit
f6e1ff3986
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue