From b7611b08ae635cffc236cf19ea3fa2b950737208 Mon Sep 17 00:00:00 2001 From: Raoul Branten Date: Wed, 22 Oct 2025 15:34:19 +0200 Subject: [PATCH] add keymaps for tab actions --- lua/config/keymaps.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index c05f01b..7b7fcc5 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -58,6 +58,16 @@ wk.add({ { "h", group = "Git"}, -- Diagnostics { "h", group = "Code Diagnostics"}, + -- Diagnostics + { "t", group = "Tabs"}, + { "tf", "tabm 0", desc = "Move before first tab", mode = "n"}, + { "tl", "tabm", desc = "Move after last tab", mode = "n"}, + { "t,", "tabm -", desc = "Move tab to left", mode = "n"}, + { "t.", "tabm +", desc = "Move tab to right", mode = "n"}, + { "tn", "tabnext", desc = "Go to next tab", mode = "n"}, + { "tp", "tabprevious", desc = "Go to previous tab", mode = "n"}, + { "tb", "tabrewind", desc = "Go to first tab", mode = "n"}, + { "te", "tablast", desc = "Go to last tab", mode = "n"}, }) -- prevent using arrow keys or mouse