From 7332b6b2daa211abc7ec2d6f18b3a0438acec976 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 20 Apr 2024 18:19:59 +0530 Subject: core/maps: init previous ('[b') and next (']b') buffer --- lua/core/maps.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/core/maps.lua b/lua/core/maps.lua index 14f05f1..61617cf 100644 --- a/lua/core/maps.lua +++ b/lua/core/maps.lua @@ -1,6 +1,8 @@ local maps = { n = { - [""] = { " noh ", "Clear highlights" }, + [""] = { " noh ", "Clear highlights" }, + ["[b"] = { " bprev ", "Previous buffer" }, + ["]b"] = { " bnext ", "Next buffer" }, ["cc"] = { function() if vim.api.nvim_get_option_value("colorcolumn", {}) == "" then -- cgit v1.2.3