summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-07 11:29:18 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-07 11:29:18 +0200
commit278de9925f520828bc25df88e30bab3480e3a61c (patch)
tree728244a75f015495896ee4bd73ca4fa910a4726c
parentcba4bd23ced8743ba35ddd205ac4e4c14693b677 (diff)
nvim: changed quickfix mappings
-rw-r--r--.config/nvim/lua/mappings.lua9
1 files changed, 5 insertions, 4 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua
index 69e21a6..4404529 100644
--- a/.config/nvim/lua/mappings.lua
+++ b/.config/nvim/lua/mappings.lua
@@ -49,7 +49,8 @@ map('n', '<leader>xx', '<cmd>Telescope lsp_code_actions<cr>', opts)
map('n', '<leader>xX', '<cmd>Telescope lsp_range_code_actions<cr>', opts)
map('n', '<leader>co', ':copen<CR>', opts)
-map('n', ']q', ':cnext<CR>', opts)
-map('n', '[q', ':cprevious<CR>', opts)
-map('n', '[Q', ':cfirst<CR>', opts)
-map('n', ']Q', ':clast<CR>', opts)
+map('n', '<leader>cc', ':cclose<CR>', opts)
+map('n', '<leader>cn', ':cnext<CR>', opts)
+map('n', '<leader>cp', ':cprevious<CR>', opts)
+map('n', '<leader>ct', ':cfirst<CR>', opts)
+map('n', '<leader>cl', ':clast<CR>', opts)