Mercurial > ec-dotfiles
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 492:0c2d6458248e | 493:1ad9091c464e |
|---|---|
| 119 " Switch between the normal and vim-debug modes in the status line | 119 " Switch between the normal and vim-debug modes in the status line |
| 120 nmap _ds :call SetStatusLineStyle()<CR> | 120 nmap _ds :call SetStatusLineStyle()<CR> |
| 121 call SetStatusLineStyle() | 121 call SetStatusLineStyle() |
| 122 " Window title | 122 " Window title |
| 123 if has('title') | 123 if has('title') |
| 124 if &term == "screen" | |
| 125 set t_ts=]0; | |
| 126 set t_fs= | |
| 127 endif | |
| 124 set titlestring=%t%(\ [%R%M]%) | 128 set titlestring=%t%(\ [%R%M]%) |
| 125 endif | 129 endif |
| 126 endif | 130 endif |
