remaps for buffers and tabs

This commit is contained in:
Arjun Patel
2023-05-24 15:32:46 -07:00
parent 5114fd19cb
commit 591fdce55e
+9
View File
@@ -0,0 +1,9 @@
local map = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = true }
-- Move to previous/next
map('n', '<C-,>', ':BufferPrevious<CR>', opts)
map('n', '<C-.>', ':BufferNext<CR>', opts)
-- close current buffer
map('n', '<C-x>', ':BufferClose<CR>', opts)