[FR] Allow to hide statusline and tabline
Closed this issue · 2 comments
xfzv commented
It would be nice if we could disable statusline and tabline like with goolord/alpha-nvim to achieve a cleaner look:
goolord commented
you can do that already, i don't know if it belongs as an option in the code since you can easily write
autocmd User AlphaReady set showtabline=0 | autocmd BufUnload <buffer> set showtabline=2
or the lua equivalent
Line 339 in dafa11a
xfzv commented
Sorry, I totally missed the FAQ. This works just fine:
vim.api.nvim_create_autocmd("User", {
pattern = "AlphaReady",
command = "set showtabline=0 | set laststatus=0",
})
Thank you!