Skip Navigation

Custom tab name?

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

1
1 comments
  • 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.