diff --git a/after/plugin/barbar.lua b/after/plugin/barbar.lua new file mode 100644 index 0000000..0d54d22 --- /dev/null +++ b/after/plugin/barbar.lua @@ -0,0 +1,9 @@ +local map = vim.api.nvim_set_keymap +local opts = { noremap = true, silent = true } + +-- Move to previous/next +map('n', '', ':BufferPrevious', opts) +map('n', '', ':BufferNext', opts) + +-- close current buffer +map('n', '', ':BufferClose', opts)