Configure lualine and bufferline the way I like
I use tabs and splits mostly, not buffers.
This commit is contained in:
parent
49b6cef490
commit
159122bb18
8
lua/plugins/bufferline.lua
Normal file
8
lua/plugins/bufferline.lua
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
return {
|
||||||
|
"akinsho/bufferline.nvim",
|
||||||
|
opts = {
|
||||||
|
options = {
|
||||||
|
mode = "tabs",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
22
lua/plugins/lualine.lua
Normal file
22
lua/plugins/lualine.lua
Normal 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 = {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user