diff rc/vimrc @ 493:1ad9091c464e

Properly set window name for vim.
author edogawaconan <me@myconan.net>
date Sat, 09 Nov 2013 17:28:20 +0900
parents 064970c9df7c
children 229acf12b960
line wrap: on
line diff
--- a/rc/vimrc	Fri Nov 08 17:56:37 2013 +0900
+++ b/rc/vimrc	Sat Nov 09 17:28:20 2013 +0900
@@ -121,6 +121,10 @@
   call SetStatusLineStyle()
   " Window title
   if has('title')
+    if &term == "screen"
+      set t_ts=]0;
+      set t_fs=
+    endif
     set titlestring=%t%(\ [%R%M]%)
   endif
 endif