diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-04-20 18:19:59 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-04-20 18:28:58 +0530 |
commit | 7332b6b2daa211abc7ec2d6f18b3a0438acec976 (patch) | |
tree | 2d547343046efd8c17812bc634fd386859fa00bc /lua/core | |
parent | dfcd079f82db1504c1d3304dcd0702fddaaf03bb (diff) |
core/maps: init previous ('[b') and next (']b') buffer
Diffstat (limited to 'lua/core')
-rw-r--r-- | lua/core/maps.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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 = { - ["<Esc>"] = { "<cmd> noh <CR>", "Clear highlights" }, + ["<Esc>"] = { "<CMD> noh <CR>", "Clear highlights" }, + ["[b"] = { "<CMD> bprev <CR>", "Previous buffer" }, + ["]b"] = { "<CMD> bnext <CR>", "Next buffer" }, ["<Leader>cc"] = { function() if vim.api.nvim_get_option_value("colorcolumn", {}) == "" then |