From c4658dba8b85a082a760922fb63f162ecf0eafb1 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 13 Aug 2025 19:38:09 -0400 Subject: fix keymaps for cycling through open buffers --- nvim/.config/nvim/lua/eugenetriguba/keymaps.lua | 6 +++--- nvim/.config/nvim/lua/eugenetriguba/options.lua | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/nvim/.config/nvim/lua/eugenetriguba/keymaps.lua b/nvim/.config/nvim/lua/eugenetriguba/keymaps.lua index 6c02c02..a63dcea 100644 --- a/nvim/.config/nvim/lua/eugenetriguba/keymaps.lua +++ b/nvim/.config/nvim/lua/eugenetriguba/keymaps.lua @@ -19,6 +19,6 @@ map('n', '', '', { desc = 'Move focus to the right window' }) map('n', '', '', { desc = 'Move focus to the lower window' }) map('n', '', '', { desc = 'Move focus to the upper window' }) --- Keybindings to cycle through open tabs easier -map('n', '', 'tabprevious', { desc = 'Open tab to the left' }) -map('n', '', 'tabnext', { desc = 'Open tab to the right' }) +-- Keybindings to cycle through open buffers easier +map('n', '', 'bprev', { desc = 'Open buffer to the left' }) +map('n', '', 'bnext', { desc = 'Open buffer to the right' }) diff --git a/nvim/.config/nvim/lua/eugenetriguba/options.lua b/nvim/.config/nvim/lua/eugenetriguba/options.lua index 2634748..e969a6c 100644 --- a/nvim/.config/nvim/lua/eugenetriguba/options.lua +++ b/nvim/.config/nvim/lua/eugenetriguba/options.lua @@ -90,5 +90,4 @@ opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } -- Preview substitutions live, as you type! opt.inccommand = 'split' --- Add a spell file for files that are spell checked opt.spellfile = vim.fn.stdpath 'config' .. '/spell/en.utf-8.add' -- cgit v1.2.3