aboutsummaryrefslogtreecommitdiffstats
path: root/nvim
diff options
context:
space:
mode:
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'