From 1ce48de05064dc0dab173d1e354e365aa92d80bc Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Mon, 18 May 2026 19:42:53 +0200 Subject: feat(nvim): add shortcuts to move tabpages --- init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index b058d9a..c8fdc19 100644 --- a/init.lua +++ b/init.lua @@ -113,6 +113,9 @@ vim.keymap.set({ "n", "i", "t" }, "", "tabnext", { desc = "Move to vim.keymap.set({ "n", "i", "t" }, "", "tabprevious", { desc = "Move to previous tab page" }) vim.keymap.set("i", "", "") vim.keymap.set("i", "", "") +-- Move tab +vim.keymap.set("n", ">", "tabmove +1", { desc = "Move tab to next position" }) +vim.keymap.set("n", "<", "tabmove -1", { desc = "Move tab to next position" }) -- Scrolling vim.keymap.set("n", "", vim.cmd.ScrollSmoothUp, { desc = "Scroll up smoothly" }) vim.keymap.set("n", "", vim.cmd.ScrollSmoothDown, { desc = "Scroll down smoothly" }) -- cgit v1.3.1