X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vim%2Fftplugin%2Fperl%2Fperl.xpt.vim;h=5259466361366be1db081839dff4d9db5f93393a;hb=f12a71b3b6305ec95596b3b3b65c2bfff73b0aeb;hp=672d2c582f8ef36097dbb2ce1127ecb7d41b3b53;hpb=7ba8fd37426025138d7d19cfdbdf081d13c3b0c3;p=config%2Fdotfiles.git diff --git a/vim/ftplugin/perl/perl.xpt.vim b/vim/ftplugin/perl/perl.xpt.vim index 672d2c5..5259466 100644 --- a/vim/ftplugin/perl/perl.xpt.vim +++ b/vim/ftplugin/perl/perl.xpt.vim @@ -31,12 +31,12 @@ XPTemplate priority=personal XPT perl -XSET year|def=strftime("%Y") +XSET description|post=S(V(), '^description$', 'XXX') #!/usr/bin/perl # `description^ -# Copyright (C) `year^ Simon Ruderich +# Copyright (C) `strftime("%Y")^ Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -57,3 +57,10 @@ use warnings; `cursor^ + + +XPT p +print `cursor^; + +XPT pe +print STDERR `cursor^;