|
|
@ -39,6 +39,10 @@ vim.keymap.set("n", "<A-7>", "7gt", { desc = "Navigate to tab 8" }) |
|
|
|
vim.keymap.set("n", "<A-8>", "8gt", { desc = "Navigate to tab 9" }) |
|
|
|
vim.keymap.set("n", "<A-9>", "9gt", { desc = "Navigate to tab 10" }) |
|
|
|
|
|
|
|
vim.keymap.set("n", "<leader>tN", "<cmd>tabnew<CR>", { desc = "New tab" }) |
|
|
|
vim.keymap.set("n", "<leader>tn", "<cmd>tabnext<CR>", { desc = "Next tab" }) |
|
|
|
vim.keymap.set("n", "<leader>tp", "<cmd>tabprevious<CR>", { desc = "Previous tab" }) |
|
|
|
|
|
|
|
vim.keymap.set("x", "<leader>p", '"_dP', { desc = "Delete into black hole register" }) |
|
|
|
vim.keymap.set("n", "<leader>d", '"_d', { desc = "Delete into black hole register" }) |
|
|
|
vim.keymap.set("v", "<leader>d", '"_d', { desc = "Delete into black hole register" }) |
|
|
@ -53,7 +57,7 @@ vim.keymap.set("n", "N", "Nzzzv", { desc = "Previous search result" }) |
|
|
|
|
|
|
|
-- Keep cursor centered when jumping through 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" }) |
|
|
|
vim.keymap.set("n", "<leader>j", "<cmd>cnext<CR>zz", { desc = "Next item in quickfix list" }) |
|
|
|
|
|
|
|
-- Easily run global search and replace |
|
|
|
vim.keymap.set( |
|
|
|