diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 7c7d6546..ecceeb54 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -7,6 +7,7 @@ vim.keymap.set('n', '', 'nohlsearch') -- Diagnostic keymaps vim.keymap.set('n', 'q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) +vim.keymap.set('n', 'te', vim.diagnostic.open_float, { desc = '[T]oggle [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 , which