From 84026b5a01669b55458d4d233e85fa5d5b1b8995 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Thu, 11 Dec 2025 08:29:56 +0000 Subject: [PATCH] feat: Add keymappings for easier buffers navigation --- lua/plugins/astrocore.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index f50c976..3aa80d0 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -71,6 +71,8 @@ return { end, desc = "Close buffer from tabline", }, + ["bp"] = { function() require("astrocore.buffer").nav(-vim.v.count1) end, desc = "Previous buffer" }, + ["bn"] = { function() require("astrocore.buffer").nav(vim.v.count1) end, desc = "Next buffer" }, -- tables with just a `desc` key will be registered with which-key if it's installed -- this is useful for naming menus