How to change tab titles in vim to user-define names?
问题 I am using gvim for linux. I got a few tab pages open and a couple of windows open per tab page. I want to change the name of the tab pages to something significant to each project, as they are loaded separately in each tab. Normally tab pages are name after filenames, but I want to change them to specific project names. I tried to use set guitablabel , but it changes all the tabs not only the current one. 回答1: You can try something like this: fun! MyTabLabel() let s:title = gettabvar