Skip to content

Instantly share code, notes, and snippets.

@Raimondi
Created September 11, 2010 01:17
Show Gist options
  • Save Raimondi/574646 to your computer and use it in GitHub Desktop.
Save Raimondi/574646 to your computer and use it in GitHub Desktop.
Set a static label for a tab.
"http://groups.google.com/group/vim_mac/browse_frm/thread/63b4a8ed1bd0fc5c
function! MyLabel()
if exists('t:name')
return t:name
else
return ''
endif
endfunction
set guitablabel=%{MyLabel()}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment