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