Configure lualine and bufferline the way I like

I use tabs and splits mostly, not buffers.
This commit is contained in:
Tyler Hallada 2023-12-01 15:26:03 -05:00
parent 49b6cef490
commit 159122bb18
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 = {},
},
},
}