summaryrefslogtreecommitdiff
path: root/lua/aotrix/remap.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/aotrix/remap.lua')
-rw-r--r--lua/aotrix/remap.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/aotrix/remap.lua b/lua/aotrix/remap.lua
index 72a854b..c5ff3fe 100644
--- a/lua/aotrix/remap.lua
+++ b/lua/aotrix/remap.lua
@@ -16,3 +16,10 @@ vim.keymap.set("n", "<leader>Y", [["+Y]])
-- Remove <C-c> because it is not fast enough
vim.keymap.set({'n', 'i', 'v'}, '<C-c>', '<nop>')
+
+-- Quickfix
+vim.keymap.set("n", "<leader>q", function() vim.diagnostic.setqflist() end)
+vim.keymap.set("n", "<M-j>", "<cmd>:cnext<CR>")
+vim.keymap.set("n", "<M-k>", "<cmd>:cprev<CR>")
+vim.keymap.set("n", "<M-f>", "<cmd>:cfirst<CR>")
+vim.keymap.set("n", "<M-l>", "<cmd>:clast<CR>")