Mercurial > ec-dotfiles
comparison rc/vimrc @ 728:91e7a932c3e3
[vimrc] also handle screen-256color
| author | nanaya <me@nanaya.net> |
|---|---|
| date | Mon, 06 Jan 2025 17:08:00 +0900 |
| parents | 440e800e9be0 |
| children | a01648ad62b7 |
comparison
equal
deleted
inserted
replaced
| 727:49538e2aad65 | 728:91e7a932c3e3 |
|---|---|
| 197 " Switch between the normal and vim-debug modes in the status line | 197 " Switch between the normal and vim-debug modes in the status line |
| 198 nmap _ds :call SetStatusLineStyle()<CR> | 198 nmap _ds :call SetStatusLineStyle()<CR> |
| 199 call SetStatusLineStyle() | 199 call SetStatusLineStyle() |
| 200 " Window title | 200 " Window title |
| 201 if has('title') | 201 if has('title') |
| 202 if &term == "screen" | 202 if &term == "screen" || &term == "screen-256color" |
| 203 set t_ts=]0; | 203 set t_ts=]0; |
| 204 set t_fs= | 204 set t_fs= |
| 205 endif | 205 endif |
| 206 set title | 206 set title |
| 207 let &titlestring = $user | 207 let &titlestring = $user |
