From cba4bd23ced8743ba35ddd205ac4e4c14693b677 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Fri, 7 Oct 2022 09:31:37 +0200 Subject: nvim: quickfix mappings --- .config/nvim/lua/mappings.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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', 'xn', 'lua vim.diagnostic.goto_next()', opts) map('n', 'xN', 'lua vim.diagnostic.goto_prev()', opts) map('n', 'xx', 'Telescope lsp_code_actions', opts) map('n', 'xX', 'Telescope lsp_range_code_actions', opts) + +map('n', 'co', ':copen', opts) +map('n', ']q', ':cnext', opts) +map('n', '[q', ':cprevious', opts) +map('n', '[Q', ':cfirst', opts) +map('n', ']Q', ':clast', opts) -- cgit v1.2.3-70-g09d2