update config
This commit is contained in:
parent
cb6c27bd42
commit
a9eb823562
4 changed files with 22 additions and 11 deletions
|
|
@ -1,24 +0,0 @@
|
|||
return {
|
||||
{
|
||||
'romgrk/barbar.nvim',
|
||||
dependencies = {
|
||||
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
|
||||
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
|
||||
},
|
||||
init = function()
|
||||
vim.g.barbar_auto_setup = false
|
||||
-- Barbar Plugin
|
||||
vim.keymap.set('n', '<leader>tn', '<Cmd>BufferNext<CR>', { desc = '[N]ext Tab' })
|
||||
vim.keymap.set('n', '<leader>tp', '<Cmd>BufferPrevious<CR>', { desc = '[P]revious Tab' })
|
||||
vim.keymap.set('n', '<C-q>', '<Cmd>BufferClose<CR>')
|
||||
vim.keymap.set('n', '<C-p>', '<Cmd>BufferPick<CR>')
|
||||
end,
|
||||
opts = {
|
||||
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
|
||||
animation = true,
|
||||
-- insert_at_start = true,
|
||||
-- …etc.
|
||||
},
|
||||
version = '^1.0.0', -- optional: only update when a new 1.x version is released
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue