how to let tab display only file name rather than the full path in vim
vim
Solution
Try
`:set guitablabel=%t`
For format of possible options see
:help 'statusline'
Problem
If the full path of a file is very long, you can't tell which file is in a given tab. so I'm wondering is there is a way let the tab only display the file name rather than the full path of the file, might be convenient in some case.