Author: dylan
Date: 2005-01-09 00:38:52 -0500 (Sun, 09 Jan 2005)
New Revision: 579
Added:
trunk/dev-tools/vim-automod/COPYING
trunk/dev-tools/vim-automod/README
Modified:
trunk/dev-tools/vim-automod/perl_automod.vim.m4
Log:
added more details, a README file, and a COPYING file.
Copied: trunk/dev-tools/vim-automod/COPYING (from rev 520,
trunk/main/client/COPYING)
Added: trunk/dev-tools/vim-automod/README
===================================================================
--- trunk/dev-tools/vim-automod/README 2005-01-09 05:33:30 UTC (rev 578)
+++ trunk/dev-tools/vim-automod/README 2005-01-09 05:38:52 UTC (rev 579)
@@ -0,0 +1,16 @@
+Copyright (C) 2005 Dylan Hardison. All Rights Reserved.
+See COPYING for license (which is GPL).
+
+To install:
+ * make install
+ * In your ~/.vimrc, use the following autocmd:
+ : autocmd BufNewFile *.pm nested call PerlModuleNewFile()
+ * You can specify different templates other than the default one by setting
+ b:perl_automod_new
+ (before calling PerlModuleNewFile(), of course).
+ * In your ~/.bashrc (or equivelent):
+ export REALNAME="My Real Name"
+ export EMAIL="[EMAIL PROTECTED]"
+
+ <<AUTHOR>> in the template.pm will be replaced with $REALNAME,
+ and <<EMAIL>> with $EMAIL.
Modified: trunk/dev-tools/vim-automod/perl_automod.vim.m4
===================================================================
--- trunk/dev-tools/vim-automod/perl_automod.vim.m4 2005-01-09 05:33:30 UTC
(rev 578)
+++ trunk/dev-tools/vim-automod/perl_automod.vim.m4 2005-01-09 05:38:52 UTC
(rev 579)
@@ -13,6 +13,12 @@
" * You can specify different templates other than the default one by
setting
" b:perl_automod_new
" (before calling PerlModuleNewFile(), of course).
+" * In your ~/.bashrc (or equivelent):
+" export REALNAME="My Real Name"
+" export EMAIL="[EMAIL PROTECTED]"
+"
+" <<AUTHOR>> in the template.pm will be replaced with $REALNAME,
+" and <<EMAIL>> with $EMAIL.
if exists('did_perl_automod')
finish