diff options
author | adam <56338480+adastx@users.noreply.github.com> | 2022-10-07 09:31:37 +0200 |
---|---|---|
committer | adam <56338480+adastx@users.noreply.github.com> | 2022-10-07 09:31:37 +0200 |
commit | cba4bd23ced8743ba35ddd205ac4e4c14693b677 (patch) | |
tree | a969cd3860095e249b137a0d3b7f2665546baacf | |
parent | d13382fcdbc0565c4daf628d6d76cf415ffe4080 (diff) |
nvim: quickfix mappings
-rw-r--r-- | .config/nvim/lua/mappings.lua | 6 |
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) |