diff --git a/lua/plugins/mappings.lua b/lua/plugins/mappings.lua index b6eeb92..cb52291 100644 --- a/lua/plugins/mappings.lua +++ b/lua/plugins/mappings.lua @@ -8,8 +8,18 @@ return { -- first key is the mode n = { -- second key is the lefthand side of the map + + -- navigate buffer tabs with `H` and `L` + -- L = { + -- function() require("astronvim.utils.buffer").nav(vim.v.count > 0 and vim.v.count or 1) end, + -- desc = "Next buffer", + -- }, + -- H = { + -- function() require("astronvim.utils.buffer").nav(-(vim.v.count > 0 and vim.v.count or 1)) end, + -- desc = "Previous buffer", + -- }, + -- mappings seen under group name "Buffer" - ["bn"] = { "tabnew", desc = "New tab" }, ["bD"] = { function() require("astroui.status.heirline").buffer_picker(