Remap <leader>q to buffer close
This commit is contained in:
parent
435b652c8e
commit
a0a86bc780
2 changed files with 2 additions and 1 deletions
2
init.lua
2
init.lua
|
|
@ -165,7 +165,7 @@ vim.opt.scrolloff = 10
|
|||
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>xq', 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue