add back diagnostic error messages keybind

This commit is contained in:
Noa Aarts 2025-11-21 14:02:30 +01:00
parent 34418bf22b
commit efb83d523e
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -89,6 +89,7 @@ vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
-- Diagnostic keymaps
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
vim.keymap.set("n", "<leader>e", vim.diagnostic.open_float, { desc = "Show diagnostic [E]rror messages" })
-- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier
-- for people to discover. Otherwise, you normally need to press <C-\><C-n>, which