This commit is contained in:
asep komarudin 2023-01-15 08:44:42 +07:00
parent 00381b1a78
commit 36d88f69fb
2 changed files with 11 additions and 11 deletions

View file

@ -31,11 +31,11 @@ bufferline.setup({
numbers = "none", -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
--close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
close_command = function(bufnum)
require('bufdelete').bufdelete(bufnum, true)
require("bufdelete").bufdelete(bufnum, true)
end,
--right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions"
right_mouse_command = function(bufnum)
require('bufdelete').bufdelete(bufnum, true)
require("bufdelete").bufdelete(bufnum, true)
end,
left_mouse_command = "buffer %d", -- can be a string | function, see "Mouse actions"
middle_mouse_command = nil, -- can be a string | function, see "Mouse actions"
@ -91,14 +91,14 @@ bufferline.setup({
-- return true
-- end
-- end,
offsets = { {
offsets = {
{
filetype = "NvimTree",
text = function()
return vim.fn.getcwd()
end,
text = "Explorer",
highlight = "Directory",
text_align = "left",
padding = 1 }
padding = 1,
},
},
show_buffer_icons = true,
show_buffer_close_icons = true,

View file

@ -74,7 +74,7 @@ nvim_tree.setup({
},
view = {
width = 30,
hide_root_folder = true,
hide_root_folder = false,
side = "left",
mappings = {
list = {