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

  • chimay@lemmy.sdf.org
    link
    fedilink
    arrow-up
    1
    ·
    10 months 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.