sponsor Vim development Vim logo Vim Book Ad

Brace Complete for C/C++ : Adds braces after if, else, while

 script karma  Rating 328/326, Downloaded by 3008    Comments, bugs, improvements  Vim wiki

created by
Michael Geddes
script type
This is for use with the style of C/C++ coding that says ALWAYS have braces after an if, and always start braces on a new line:

if(a ==1 )
it also changes

For those whoe get lazy :)
install details
Add as ftplugin for cpp.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
complete.vim 0.2 2002-02-25 6.0 Michael Geddes Add <buffer> to maps
complete.vim 0.1 2002-02-25 6.0 Michael Geddes Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo