From 8f35824741fc9dbabd15c4f1f328e899a96599a9 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 8 Oct 2023 04:38:45 -0500 Subject: [PATCH] feat(nvim): add keybindings to go to newer and older quickfixes --- dots/.config/nvim/lua/core/mappings.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dots/.config/nvim/lua/core/mappings.lua b/dots/.config/nvim/lua/core/mappings.lua index 4b0b8c06..d2a4a68c 100755 --- a/dots/.config/nvim/lua/core/mappings.lua +++ b/dots/.config/nvim/lua/core/mappings.lua @@ -108,6 +108,10 @@ M.setup = function() vim.keymap.set("n", "", indent_traverse(1, true), { silent = true, desc = "Move: To next equal indent" }) vim.keymap.set("n", "", indent_traverse(-1, true), { silent = true, desc = "Move: To previous equal indent" }) + + -- Binding to go to older and newer quickfix list + vim.keymap.set("n", "]q", "cnewer", { silent = true, desc = "Quickfix: Newer" }) + vim.keymap.set("n", "]q", "colder", { silent = true, desc = "Quickfix: Older" }) end return M