From b3ff9f8a70d5588e5198579479634a981caf8a91 Mon Sep 17 00:00:00 2001 From: Rawley Fowler <75388349+rawleyfowler@users.noreply.github.com> Date: Sat, 30 Apr 2022 10:26:44 -0600 Subject: [PATCH] Add buffer cycling --- neovim/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neovim/init.lua b/neovim/init.lua index 5e7ec25..0c9b559 100644 --- a/neovim/init.lua +++ b/neovim/init.lua @@ -49,6 +49,9 @@ function map(mode, lhs, rhs, opts) end vim.api.nvim_set_keymap(mode, lhs, rhs, options) end +---- Cycling through buffers +map('n', '', ':bprev', { noremap = true }) +map('n', '', ':bnext', { noremap = true }) ---- NERDTree map('n', '', ':NERDTreeToggle', { noremap = true }) map('n', '', ':NERDTreeClose', { noremap = true })