Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.2 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.2 KB

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="[email protected]"
    • 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 [email protected], obviously obfuscated by the answer of the command:

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

Happy hacking.

.