# HG changeset patch
# User Alexander Steinböck <z3ttacht@grml.org>
# Date 1202916895 -3600
# Node ID eb60b0aec5ccf5936d1389ed2554fc0084e508e0
# Parent  7b72929cacc13c19550bdb3fa47fbb35f576f8f5
Prevent setting the title by vim when editing mails.
Otherwise the window name may get very long and may screw up screen's
hardstatus line. On the other hand renaming the window to `&shell'[1]
after editing the mail is prevented.

diff -r 7b72929cacc1 -r eb60b0aec5cc etc/skel/.vimrc
--- a/etc/skel/.vimrc	Mon Feb 11 18:02:29 2008 +0100
+++ b/etc/skel/.vimrc	Wed Feb 13 16:34:55 2008 +0100
@@ -3,7 +3,7 @@
 " Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 " Bug-Reports:   see http://grml.org/bugs/
 " License:       This file is licensed under the GPL v2.
-" Latest change: Don Jul 19 00:02:50 CEST 2007 [mika]
+" Latest Change: Mon Feb 11 20:02:19 CET 2008 [z3ttacht]
 "###############################################################################
 " Thanks to Sven Guckes for his template!
 "###############################################################################
@@ -26,7 +26,9 @@
 
 " autocommands:
 " when the file type is "mail" then set the textwidth to "70":
-  au FileType mail   set tw=70
+" and disable changing the title of the current window.
+  autocmd FileType mail
+        \ set tw=70 notitle
 " When editing a file, always jump to the last cursor position
 "  au BufReadPost * if line("'\"") | exe "'\"" | endif
   autocmd BufReadPost * if line("'\"") && line("'\"") <= line("$") | exe "normal `\"" | endif
