From 51acc1fceca54aff868e32ce31c10459c4fbaac6 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 22 Mar 2014 00:02:12 +0100 Subject: [PATCH] ftplugin/*.xpt.vim: print snippets: move cursor after snippet --- vim/ftplugin/java/java.xpt.vim | 4 ++-- vim/ftplugin/perl/perl.xpt.vim | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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^; -- 2.45.2