|
|
@ -43,6 +43,16 @@ vim.keymap.set("n", "N", "Nzzzv", { desc = "Previous search result" }) |
|
|
|
vim.keymap.set("n", "<leader>N", "<cmd>cprev<CR>zz", { desc = "Previous item in quickfix list" }) |
|
|
|
vim.keymap.set("n", "<leader>n", "<cmd>cnext<CR>zz", { desc = "Next item in quickfix list" }) |
|
|
|
|
|
|
|
-- Increment/decrement |
|
|
|
vim.keymap.set("n", "+", "<C-a>") |
|
|
|
vim.keymap.set("n", "-", "<C-x>") |
|
|
|
|
|
|
|
-- Resize window |
|
|
|
vim.keymap.set("n", "<C-w><left>", "5<C-w><") |
|
|
|
vim.keymap.set("n", "<C-w><right>", "5<C-w>>") |
|
|
|
vim.keymap.set("n", "<C-w><up>", "5<C-w>+") |
|
|
|
vim.keymap.set("n", "<C-w><down>", "5<C-w>-") |
|
|
|
|
|
|
|
-- Easily run global search and replace |
|
|
|
vim.keymap.set( |
|
|
|
"n", |
|
|
|