From: Iain Patterson Date: Mon, 7 Dec 2009 15:32:49 +0000 (+0000) Subject: Use a shorter title string on Windows. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=aeeebc1e1c8f4f7a22159676b7ad47c6201090e5;p=profile.git Use a shorter title string on Windows. Titles must fit on to taskbar entries which are usually short. --- diff --git a/.vimrc b/.vimrc index 21de57f..460bcfb 100644 --- a/.vimrc +++ b/.vimrc @@ -145,7 +145,12 @@ se t_WS=[8;%p1%d;%p2%dt se hlsearch " Set graphical window title. -se titlestring=%{Show_TitleString()} +if has("win32") + " Windows taskbar entries are probably too small to show full titles. + se titlestring=%t +else + se titlestring=%{Show_TitleString()} +endif " Syntax highlighting. New versions will use syn enable instead. if version < "600"