From 956ea586d767a1915c096aa3ff1870a71ee5a9c2 Mon Sep 17 00:00:00 2001 From: Wesley Irvin Date: Sun, 4 Aug 2024 14:39:54 -0400 Subject: [PATCH] Barbar Addition Added in barbar plugin to give us a tab line. Also added in keybinds as follows for navigation: Previous Tab Next Tab Move Tab Left Move Tab Right --- nvim/dot-config/nvim/lua/plugins/barbar.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nvim/dot-config/nvim/lua/plugins/barbar.lua diff --git a/nvim/dot-config/nvim/lua/plugins/barbar.lua b/nvim/dot-config/nvim/lua/plugins/barbar.lua new file mode 100644 index 0000000..ee8dce9 --- /dev/null +++ b/nvim/dot-config/nvim/lua/plugins/barbar.lua @@ -0,0 +1,19 @@ +return { + "romgrk/barbar.nvim", + config = function() + require("barbar").setup({ + init = function() vim.g.barbar_auto_setup = false end, + dependencies = { + 'lewis6991/gitsigns.nvim', -- Optional, for git status signs + 'nvim-tree/nvim-web-devicons', -- Optional, for file icons + }, + opts = { + + }, + vim.keymap.set('n', '', ':BufferPrevious', {}), + vim.keymap.set('n', '', ':BufferNext', {}), + vim.keymap.set('n', '', ':BufferMovePrevious', {}), + vim.keymap.set('n', '', ':BufferMoveNext', {}), + }) + end +} -- 2.49.1