summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/_barbar
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/_barbar')
-rw-r--r--.config/nvim/lua/_barbar/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/lua/_barbar/init.lua b/.config/nvim/lua/_barbar/init.lua
new file mode 100644
index 0000000..49c1206
--- /dev/null
+++ b/.config/nvim/lua/_barbar/init.lua
@@ -0,0 +1,3 @@
+vim.api.nvim_set_keymap('n', '<TAB>', ':BufferNext<CR>', { noremap = true, silent = true })
+vim.api.nvim_set_keymap('n', '<S-TAB>', ':BufferPrevious<CR>', { noremap = true, silent = true })
+vim.api.nvim_set_keymap('n', '<S-x>', ':BufferClose<CR>', { noremap = true, silent = true })