From d0eaa28b5a64d1cdc372e6c04546f98eac2c48f6 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Mon, 31 Jul 2023 10:13:49 -0400 Subject: [PATCH] chore(mappings): improve example mappings --- lua/plugins/mappings.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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(