This commit is contained in:
2024-09-24 17:36:47 -04:00
parent 45b68dfbee
commit 3f938b9b1e

View File

@@ -167,6 +167,9 @@ 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' })
-- File kemaps
vim.keymap.set('n', '<leader>-', '<cmd>sp<CR>-', { desc = 'Open file navigation' })
-- 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
-- is not what someone will guess without a bit more experience.