nvim: added barbar to take care of buffer management
This commit is contained in:
parent
a675ffa81e
commit
43ad5e892b
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"barbar.nvim": { "branch": "master", "commit": "a8fe0abe538f15997a543e0f653993ef3727455f" },
|
||||
"fd": { "branch": "master", "commit": "00b64f3ccbfb832ef744bb42bbdfabaf929b5ee2" },
|
||||
"feline.nvim": { "branch": "main", "commit": "a6bebd903e84d5ce0e97c597e0ca85cd24109002" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "d195f0c35ced5174d3ecce1c4c8ebb3b5bc23fa9" },
|
||||
|
|
13
.config/nvim/lua/plugins/barbar.lua
Normal file
13
.config/nvim/lua/plugins/barbar.lua
Normal file
|
@ -0,0 +1,13 @@
|
|||
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 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.
|
||||
},
|
||||
}
|
|
@ -28,9 +28,6 @@ vim.opt.updatetime = 50
|
|||
vim.opt.hlsearch = false
|
||||
vim.opt.incsearch = true
|
||||
|
||||
-- auto-close unused buffers if all changes have been saved
|
||||
vim.opt.hidden = false
|
||||
|
||||
-- stuff
|
||||
|
||||
vim.opt.fillchars:append({ eob = ' ' })
|
||||
|
|
Loading…
Reference in a new issue