Skip to content

create templates for bash, python, ansible and go.

License

Notifications You must be signed in to change notification settings

jvzantvoort/vimtmpl

Repository files navigation

forthebadge forthebadge forthebadge

vimtmpl

Allows you to create template files for scripts.

This is for goofing around... be warned

Config file

Basic configuration is done in ~/.template.cfg

[DEFAULT]
user = dduck
username = Donald Duck
company = Ducktown
copyright = Donald Duck
mailaddress = [email protected]

license = MIT
mode = 0644

[bash]
description = Bash script
mode = 0755

[bashlib]
extension = .sh
mode = 0644

[go]
extension = .go
mode = 0644

[playbook]
extension = .yml
mode = 0644

[pythonlib]
extension = .py
mode = 0644

[python]
mode = 0755

Templates

Templates are stored in ~/.templates.d

Original version: vimtmpl-templates

mkdir -p ~/.templates.d
pushd "~/.templates.d"
git clone https://github.com/jvzantvoort/vimtmpl-templates.git defaults
popd

About

create templates for bash, python, ansible and go.

Resources

License

Stars

Watchers

Forks

Packages

No packages published