Browse Source

feat: update quickfix remaps

master
Tovi Jaeschke-Rogers 9 months ago
parent
commit
aa79268789
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      .config/nvim/lua/tovi/core/remaps.lua

+ 2
- 4
.config/nvim/lua/tovi/core/remaps.lua View File

@ -52,10 +52,8 @@ vim.keymap.set("n", "n", "nzzzv", { desc = "Next search result" })
vim.keymap.set("n", "N", "Nzzzv", { desc = "Previous search result" }) vim.keymap.set("n", "N", "Nzzzv", { desc = "Previous search result" })
-- Keep cursor centered when jumping through quickfix list -- Keep cursor centered when jumping through quickfix list
vim.keymap.set("n", "<C-k>", "<cmd>cnext<CR>zz", { desc = "Next item in quickfix list" })
vim.keymap.set("n", "<C-j>", "<cmd>cprev<CR>zz", { desc = "Previous item in quickfix list" })
vim.keymap.set("n", "<leader>k", "<cmd>lnext<CR>zz", { desc = "Next item in quickfix list" })
vim.keymap.set("n", "<leader>j", "<cmd>cprev<CR>zz", { desc = "Previous item in quickfix list" })
vim.keymap.set("n", "<leader>k", "<cmd>cprev<CR>zz", { desc = "Previous item in quickfix list" })
vim.keymap.set("n", "<leader>j", "<cmd>lnext<CR>zz", { desc = "Next item in quickfix list" })
-- Easily run global search and replace -- Easily run global search and replace
vim.keymap.set( vim.keymap.set(


Loading…
Cancel
Save