" Test::Inline perl editing macros - v.1.0 " " Copyright (c) Dan Friedman 2005. All rights reserved. " This software is released under the terms of the Artistic License. " " INSTALLATION " " Install this file in your $VIMRUNTIME, and load it appropriately when you're " editing a .pm file (RTFM). " " INVOCATION " " * Type :Sub to insert a new sub template for sub , " including a TODO block and a comment suggesting you replace it with some " actual tests " " * Type :Todo to insert a new TODO block template " " * Type :For to insert a new =for section " " That's it. Enjoy. " --Dan function! DoSub(subname) put ='=head2 ' . a:subname put ='' exec "mark a" put ='=begin testing' put ='' put ='TODO: {' put =' local $TODO = < ) :command! Todo call DoTodo() :command! -nargs=1 For call DoFor( )