|
@ -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( |
|
|