From 7321c08fb561cf1b17fd906f51595d992b86168d Mon Sep 17 00:00:00 2001 From: Ben Shiller Date: Thu, 26 Sep 2024 22:07:26 -0500 Subject: [PATCH] Add keymap for bnext and bprev --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.lua b/init.lua index 2a673cb..9175053 100644 --- a/init.lua +++ b/init.lua @@ -70,6 +70,10 @@ vim.keymap.set('n', '', 'nohlsearch') -- file browser vim.keymap.set('n', 'pv', 'Ex') +-- switch between buffers +vim.keymap.set('n', '', 'bnext') +vim.keymap.set('n', '', 'bprev') + -- BASIC AUTOCOMMANDS -- vim.api.nvim_create_autocmd('TextYankPost', {