summaryrefslogtreecommitdiff
path: root/vim/mySnippets
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-03-05 17:47:30 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-03-05 17:47:30 +0000
commit862eeacabcfb35d709d5cc4ac964c92420c69b02 (patch)
treece42bff4d7ea1e2d9e6a8ae1342965193b417382 /vim/mySnippets
parent88c41ec4f41fc5a63e9fa656aa162dfce5f291f4 (diff)
Ultisnips updates
Diffstat (limited to 'vim/mySnippets')
-rw-r--r--vim/mySnippets/tex.snippets34
1 files changed, 33 insertions, 1 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index 1741c9c..64f665b 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -1,3 +1,35 @@
+snippet real "Field of real numbers" i
+\real
+endsnippet
+
snippet grad "Gradient" i
-\nabla
+\grad
+endsnippet
+
+snippet div "Divergence" i
+\dive
+endsnippet
+
+snippet new "New command" b
+\newcommand{$1}[$2] {$3} $0
+endsnippet
+
+snippet op "Operator style" i
+\op
+endsnippet
+
+snippet pard "Partial derivative" i
+\pard{$1}{$2} $0
+endsnippet
+
+snippet pardd "Double partial derivative" i
+\pardd{$1}{$2} $0
+endsnippet
+
+snippet herm "Hermite polynomials" i
+\hermite
+endsnippet
+
+snippet red "Red text" i
+\red{$1} $0
endsnippet