Browse Source

feat: add new tab remaps

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

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

@ -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-8>", "8gt", { desc = "Navigate to tab 9" })
vim.keymap.set("n", "<A-9>", "9gt", { desc = "Navigate to tab 10" }) 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("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("n", "<leader>d", '"_d', { desc = "Delete into black hole register" })
vim.keymap.set("v", "<leader>d", '"_d', { desc = "Delete into black hole register" }) vim.keymap.set("v", "<leader>d", '"_d', { desc = "Delete into black hole register" })


Loading…
Cancel
Save