From a71cb4f215b9215fbab56232c9d7a6c02050cd27 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Tue, 19 Mar 2024 13:32:42 +0100 Subject: [PATCH] buffer switching keymaps --- lua/keymaps.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 8364bee..7886a02 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -45,6 +45,9 @@ vim.keymap.set('n', 'gs', 'Gedit :', { desc = '[G]it [S]tatus' -- Delete current buffer without closing window vim.keymap.set('n', 'bd', 'bpspbnbd', { desc = '[B]uffer [D]elete' }) +-- Switch to between buffers +vim.keymap.set('n', 'bp', 'bp', { desc = '[B]uffer [P]revious' }) +vim.keymap.set('n', 'bn', 'bn', { desc = '[B]uffer [N]ext' }) -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands`