aboutsummaryrefslogtreecommitdiffstats
path: root/nvim
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-08-13 19:38:09 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-08-13 19:38:09 -0400
commitc4658dba8b85a082a760922fb63f162ecf0eafb1 (patch)
tree81d497386d6882b73d5655bd25eb2e26b022aed3 /nvim
parentUse git and tabline from mini (diff)
downloaddotfiles-c4658dba8b85a082a760922fb63f162ecf0eafb1.zip
fix keymaps for cycling through open buffers
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/lua/eugenetriguba/keymaps.lua6
-rw-r--r--nvim/.config/nvim/lua/eugenetriguba/options.lua1
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', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right window' })
map('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
map('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
--- Keybindings to cycle through open tabs easier
-map('n', '<M-,>', '<cmd>tabprevious<CR>', { desc = 'Open tab to the left' })
-map('n', '<M-.>', '<cmd>tabnext<CR>', { desc = 'Open tab to the right' })
+-- Keybindings to cycle through open buffers easier
+map('n', '<M-,>', '<cmd>bprev<CR>', { desc = 'Open buffer to the left' })
+map('n', '<M-.>', '<cmd>bnext<CR>', { 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'