changeset 493:1ad9091c464e

Properly set window name for vim.
author edogawaconan <me@myconan.net>
date Sat, 09 Nov 2013 17:28:20 +0900
parents 0c2d6458248e
children 229acf12b960
files rc/vimrc
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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