Add trouble plugin, change shortcuts behaviours

This commit is contained in:
Miguel Da Silva 2024-09-11 21:58:54 +02:00
parent 250be667a1
commit 80ef7eec86
3 changed files with 49 additions and 1 deletions

View file

@ -48,7 +48,7 @@ vim.keymap.set('v', 'K', ":m '<-2<CR>gv=gv", { desc = 'make the selected hightli
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>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
-- 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