Skip to content

drbeco/vimtemplates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vimtemplates

The VI Improved templates

How to use this script

  • Add vimtemplates.vim to your ~/.vim/plugin/ folder

  • Add all vimodelX.ext files to your ~/.vim/templates/ folder

  • Edit you ~/.vimrc file and configure:

    • let g:VIMFILESDIR="~/.vim/"
    • let g:author="Your Beautiful Name"
    • let g:email="nice@email.have.me"
    • let g:webpage='www.myextraordinary.example.com'
    • let g:phone="+55 (11) 1234-5678"
  • If you have doxygen plugin installed, you can use:

    • let g:DoxygenToolkit_authorName=g:author

That is basically it.

Contributions

The vimodels I present covers a range of files but it is still just the beginnig. There are plenty of file extensions out there in need of a template.

This script is based on the original file-templates.vim by Alan Budden, 2009, that can still be found here at vim.org and here at sites.google

Feel free to help!

Thank you

Dr. Beco

Contact by email at cboeo@br.bb, obviously obfuscated by the answer of the command:

echo "my real email" | tr "crb@eo." "bcoe@r."

Happy hacking.

.