X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fvim%2Fvimrc;h=2a7dd0ff6868d1c8cc0432f2c5894bdf36e28a78;hb=bbb43169bf78e45a710c3d6f08f9235f8ebc888e;hp=8cc5ecae6524a2d15d80b68dc010c65f26001468;hpb=3d658d0098c380491c35899bcebeb8b5afc54c76;p=grml-etc-core.git diff --git a/etc/vim/vimrc b/etc/vim/vimrc index 8cc5eca..2a7dd0f 100644 --- 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) - if (&term =~ '^screen') && ($NOPRECMD != '1') + if ((&term =~ '^screen') && ($VIM_PLEASE_SET_TITLE =~ '^yes$') || has('gui_running')) set t_ts=k set t_fs=\ set title