diff options
| author | Aotrix <[email protected]> | 2025-02-28 18:39:18 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-02-28 18:39:18 +0100 |
| commit | 47c7f5c1899197d5572e2071602dc862a8bbc46e (patch) | |
| tree | 9404054cb5d4ab30ee4d19eaf8304b1818e11d12 /lua | |
| parent | 42589b6892d9ab23158e4eb46673f10855377397 (diff) | |
added quickfix
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/aotrix/remap.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/aotrix/remap.lua b/lua/aotrix/remap.lua index 72a854b..2877b64 100644 --- a/lua/aotrix/remap.lua +++ b/lua/aotrix/remap.lua @@ -16,3 +16,8 @@ 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>') + +-- show diagnostic in quicklist +vim.keymap.set("n", "<C-q>", function() vim.diagnostic.setqflist() end) +vim.keymap.set("n", "<M-j>", "<cmd>cnext<CR>") +vim.keymap.set("n", "<M-k>", "<cmd>cprev<CR>") |
