projects
/
grml-etc-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vimrc: only set title if the caller requests it or in gvim
[grml-etc-core.git]
/
etc
/
vim
/
vimrc
diff --git
a/etc/vim/vimrc
b/etc/vim/vimrc
index
8cc5eca
..
2a7dd0f
100644
(file)
--- a/
etc/vim/vimrc
+++ b/
etc/vim/vimrc
@@
-96,7
+96,7
@@
set dictionary=/usr/share/dict/word " used with CTRL-X CTRL-K
""" set the screen hardstatus to vim(filename.ext)
set dictionary=/usr/share/dict/word " used with CTRL-X CTRL-K
""" set the screen hardstatus to vim(filename.ext)
- if (
&term =~ '^screen') && ($NOPRECMD != '1'
)
+ if (
(&term =~ '^screen') && ($VIM_PLEASE_SET_TITLE =~ '^yes$') || has('gui_running')
)
set t_ts=
\e
k
set t_fs=
\e
\
set title
set t_ts=
\e
k
set t_fs=
\e
\
set title