summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-07 09:31:37 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-07 09:31:37 +0200
commitcba4bd23ced8743ba35ddd205ac4e4c14693b677 (patch)
treea969cd3860095e249b137a0d3b7f2665546baacf /.config/nvim
parentd13382fcdbc0565c4daf628d6d76cf415ffe4080 (diff)
nvim: quickfix mappings
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/mappings.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/lua/mappings.lua b/.config/nvim/lua/mappings.lua
index 7859795..69e21a6 100644
--- a/.config/nvim/lua/mappings.lua
+++ b/.config/nvim/lua/mappings.lua
@@ -47,3 +47,9 @@ map('n', '<leader>xn', '<cmd>lua vim.diagnostic.goto_next()<cr>', opts)
map('n', '<leader>xN', '<cmd>lua vim.diagnostic.goto_prev()<cr>', opts)
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)