diff options
-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) |