I have patched my own nerd-font and I want those cool icons for each file-type to be shown in the name of tab in Vim/NeoVim. I guess this can be done easily like I have customized my zsh command prompt as shown below with one line. But I don't know how to do that, and I have searched many projects/plugins on GitHub but it feels like this can be down without a plugin.
My zshrc to customize the command prompt:
PROMPT='%(?.%B%F{green}‚úî.%F{red}‚úò:%?)%b %F{208}%n%f %F{240}%3~%f %# '
which looks like:
What I want is something like this: (Picture from barbar.vim, but I think it provides too much functions than what I actually need)
My current nvim looks like this:




nnoremap <C-W><C-L> :vsp<CR><C-W><C-L>) and to maximize that split, but then I just asked myself "Won't it be more convenient to just create a new tab(1 step, no need to maximize it) than create a split and maximize it(2 steps)?" As you can see I don't know about when to use tabs/buffers/windows. – NeoZoom.lua Apr 11 '21 at 06:14:help tabline– D. Ben Knoble Apr 11 '21 at 11:09:h setting-tablineand:h setting-guitablabel. – Matt Apr 11 '21 at 19:03<leader>lsone). – B Layer Apr 12 '21 at 05:33