Adding barbar and things.

This commit is contained in:
calcu1on
2025-06-30 08:46:33 -04:00
parent 09e62e8940
commit de6697239e
3 changed files with 27 additions and 8 deletions

14
lua/plugins/barbar.lua Normal file
View File

@@ -0,0 +1,14 @@
return {
'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
config = function()
local opts = { noremap = true, silent = true }
vim.keymap.set("n", "<C-j>", "<cmd>BufferNext<CR>")
vim.keymap.set("n", "<C-k>", "<cmd>BufferPrevious<CR>")
vim.keymap.set('n', '<C-p>', '<Cmd>BufferPin<CR>')
vim.keymap.set('n', '<C-c>', '<Cmd>BufferClose<CR>')
end
}

View File

@@ -9,6 +9,9 @@ return {
highlight = { enable = true },
indent = { enable = true },
})
end
end,
dependencies = {
"OXY2DEV/markview.nvim"
}
}