vimrc: add check for $NOPRECMD
[grml-etc-core.git] / etc / vim / vimrc
index 8c76c8a..8cc5eca 100644 (file)
@@ -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')
+  if (&term =~ '^screen') && ($NOPRECMD != '1')
     set t_ts=\ek
     set t_fs=\e\
     set title