1
0
Fork 0

lualine: enable tabline

This commit is contained in:
Felipe 2023-06-28 00:24:41 -04:00
parent 2098afc6c1
commit 632c75c897
Signed by: pitbuster
SSH key fingerprint: SHA256:HDYu2Pm4/TmSX8GBwV49UvFWr1Ljg8XlHxKeCpjJpOk

View file

@ -49,7 +49,8 @@ opt.listchars = {
trail = "", trail = "",
} }
---- lualine.nvim ---- ---- lualine.nvim ----
require('lualine').setup({ local lualine = require('lualine')
lualine.setup({
options = { options = {
component_separators = { left = '', right = '' }, component_separators = { left = '', right = '' },
section_separators = { left = '', right = '' }, section_separators = { left = '', right = '' },
@ -66,8 +67,12 @@ require('lualine').setup({
icons_enabled = false, icons_enabled = false,
} }
}, },
lualine_z = { 'searchcount', 'progress', 'location' } lualine_z = { 'searchcount', 'progress', 'location' },
} },
tabline = {
lualine_a = { 'buffers' },
lualine_z = { 'tabs' },
},
}) })
---- Maps ---- ---- Maps ----
@ -486,7 +491,18 @@ require("nvim-web-devicons").setup()
---- firenvim ---- firenvim
if g.started_by_firenvim == true then if g.started_by_firenvim == true then
g.airline_powerline_fonts = false
vim.o.laststatus = 0
vim.cmd("packadd firenvim") vim.cmd("packadd firenvim")
lualine.setup({
sections = {
lualine_a = { 'mode' },
lualine_b = {},
lualine_c = {},
lualine_x = { 'searchcount' },
lualine_y = { 'progress' },
lualine_z = { 'location' },
},
})
lualine.hide({
place = { 'tabline' }
})
end end