Configure lualine and bufferline the way I like

I use tabs and splits mostly, not buffers.
This commit is contained in:
Tyler Hallada 2023-11-27 17:38:02 -05:00
parent 75a21f3d51
commit e501ae53a6
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,8 @@
return {
"akinsho/bufferline.nvim",
opts = {
options = {
mode = "tabs",
},
},
}

22
lua/plugins/lualine.lua Normal file
View File

@ -0,0 +1,22 @@
return {
"nvim-lualine/lualine.nvim",
opts = {
options = {
globalstatus = false,
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {
{
"filename",
file_status = true, -- displays file status (readonly status, modified status)
path = 1, -- 0 = just filename, 1 = relative path, 2 = absolute path
},
},
lualine_x = { "location" },
lualine_y = {},
lualine_z = {},
},
},
}