this post was submitted on 21 Aug 2023
5 points (100.0% liked)

VIM - Vi IMproved

1063 readers
1 users here now

For Vim enthusiasts and anyone interested in Vim/Neovim!

"VIM is the greatest editor since the stone chisel." - Dr. Jose Unpingco

#HJKL

founded 1 year ago
MODERATORS
5
submitted 1 year ago* (last edited 1 year ago) by dafunkkk to c/[email protected]
 

I want to assign a name to a new tab where I'v opened the :tab term cmd....I'v looked inside the guide but I need a real example of what I'v to put in vimrc. Thanks

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 year ago

normally the tab label is derived from the buffer name inside it.

for text tabline, you can customize it by defining a custom function

see :

:help setting-tabline

for gui, I guess it depends if you are using gvim/nvim-qt or sthg else.