]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vim/ftplugin/perl/perl.xpt.vim
ftplugin/perl/perl.xpt.vim: add pd, u, udd snippets
[config/dotfiles.git] / vim / ftplugin / perl / perl.xpt.vim
index 4b11472fef68f00ac2d897a00607a1025795f9d3..9c734bed3af759954ab99db5be32d1359b50f21c 100644 (file)
@@ -6,7 +6,7 @@
 " Maintainer:   Simon Ruderich <simon@ruderich.org>
 " License:      GPL v3+
 
-" Copyright (C) 2012  Simon Ruderich
+" Copyright (C) 2012-2014  Simon Ruderich
 "
 " This file 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,22 @@ use warnings;
 
 
 `cursor^
+
+
+XPT p
+print `value^;
+
+XPT pe
+print STDERR `value^;
+
+XPT pd
+print Dumper(`value^);
+
+
+XPT u
+use `package^;
+`cursor^
+
+XPT udd
+use Data::Dumper;
+`cursor^