From: Simon Ruderich Date: Fri, 21 Mar 2014 23:02:12 +0000 (+0100) Subject: ftplugin/*.xpt.vim: print snippets: move cursor after snippet X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=51acc1fceca54aff868e32ce31c10459c4fbaac6;p=config%2Fdotfiles.git ftplugin/*.xpt.vim: print snippets: move cursor after snippet --- diff --git a/vim/ftplugin/java/java.xpt.vim b/vim/ftplugin/java/java.xpt.vim index 07cd2fa..38a25f2 100644 --- a/vim/ftplugin/java/java.xpt.vim +++ b/vim/ftplugin/java/java.xpt.vim @@ -58,7 +58,7 @@ public class `E('%:t:r')^ { XPT p -System.out.println(`cursor^); +System.out.println(`value^); XPT pe -System.err.println(`cursor^); +System.err.println(`value^); diff --git a/vim/ftplugin/perl/perl.xpt.vim b/vim/ftplugin/perl/perl.xpt.vim index 5259466..f33e09a 100644 --- a/vim/ftplugin/perl/perl.xpt.vim +++ b/vim/ftplugin/perl/perl.xpt.vim @@ -60,7 +60,7 @@ use warnings; XPT p -print `cursor^; +print `value^; XPT pe -print STDERR `cursor^; +print STDERR `value^;