]> git.madduck.net Git - etc/vim.git/blob - .vim/vimplaterc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add '.vim/bundle/vim-python-pep8-indent/' from commit '60ba5e11a61618c0344e2db1902101...
[etc/vim.git] / .vim / vimplaterc
1 # This is an example configuration.
2 # please see: http://napali.ch/vimplate
3
4 # you can use $Config::opt instead command options:
5 #   -user=<user> -dir=<dir>
6 $Config::opt = {
7                   dir  => '/home/madduck/templates',
8                   user => 'madduck',
9 };
10
11 # we need $Config::user with the option -user=<name>
12 $Config::user = {
13                    madduck  => {
14                                       firstname => 'Martin',
15                                       lastname  => 'Krafft',
16                                       mail      => 'mail@martin-krafft.net',
17                                       etc       => '...',
18                    },
19                    otherUser   => {
20                                       firstname => 'otherFirstname',
21                                       lastname  => 'otherLastname',
22                                       mail      => 'otherMail@example.org',
23                    },
24 };
25
26 # use $Config::var for your own variables or subroutines
27 $Config::var = {
28                  yourArray => [ 'Perl', 'C', 'C++' ],
29                  example   => sub{ time },
30 };