summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vim/UltiSnips/perl.snippets12
-rw-r--r--.vim/UltiSnips/tex.snippets5
2 files changed, 17 insertions, 0 deletions
diff --git a/.vim/UltiSnips/perl.snippets b/.vim/UltiSnips/perl.snippets
new file mode 100644
index 0000000..b480482
--- /dev/null
+++ b/.vim/UltiSnips/perl.snippets
@@ -0,0 +1,12 @@
+snippet new
+sub new {
+ my $class = shift;
+
+ my $self = {};
+ bless $self, $class;
+
+ ${0}
+
+ return $self;
+}
+endsnippet
diff --git a/.vim/UltiSnips/tex.snippets b/.vim/UltiSnips/tex.snippets
new file mode 100644
index 0000000..84d924e
--- /dev/null
+++ b/.vim/UltiSnips/tex.snippets
@@ -0,0 +1,5 @@
+snippet minted "Simple minted snippet" b
+\begin{minted}{${1:text}}
+$0
+\end{minted}
+endsnippet