Bug 175878

Summary: pointless boilerplates added to C by default.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: vimAssignee: Karsten Hopp <karsten>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: nalin, pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-20 12:02:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150221, 171491    

Description Dave Jones 2005-12-15 22:01:29 UTC
vim foo.c
(assume foo.c doesn't exist)

a new buffer is opened with this..

/*
 *
=====================================================================================
 *
 *        Filename:  foo.c
 *
 *     Description:
 *
 *         Version:  1.0
 *         Created:  12/15/2005 05:02:18 PM EST
 *        Revision:  none
 *        Compiler:  gcc
 *
 *          Author:  read README.csupport to learn how to set defaults (),
 *         Company:
 *
 *
=====================================================================================
 */


which is nearly always totally useless, and has to be deleted.

Please disable this feature by default, and have users have to enable it in
.vimrc, (as was previous behaviour) instead of making every user have to decode
the documentation (after a 10 minute search I gave up trying to find out how to
disable it), and change their .vimrc's.

Comment 1 Dave Jones 2005-12-16 01:17:17 UTC
for the timebeing, adding

let g:C_Version=47

to .vimrc reverts to the old behaviour.


Comment 2 Karsten Hopp 2005-12-20 12:02:21 UTC
I've disabled the templates in vim-6.4.004-2