summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-03-05 11:45:29 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-03-05 11:45:29 +0000
commit808d4e68bc94826edd020cb5b498bc547f2e12f2 (patch)
tree98fcd78b0dfa95753342b3ab4b9a62ec0fb1924a /vim
parentfddba9c7230fd55c0399b7fc4acf757a9aadc2e6 (diff)
Update Ultisnips
Diffstat (limited to 'vim')
-rw-r--r--vim/mySnippets/all.snippets4
-rw-r--r--vim/mySnippets/tex.snippets11
2 files changed, 14 insertions, 1 deletions
diff --git a/vim/mySnippets/all.snippets b/vim/mySnippets/all.snippets
index 8b13789..9328a1e 100644
--- a/vim/mySnippets/all.snippets
+++ b/vim/mySnippets/all.snippets
@@ -1 +1,3 @@
-
+snippet jul "Jul the boss"
+Jul is the boss of ${0:dance}
+endsnippet
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index e69de29..dd60bb1 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -0,0 +1,11 @@
+snippet sumi "Sum over index set" i
+\sum_{${1:i} \in ${2:I}} $0
+endsnippet
+
+snippet ip "Inner product" i
+\left \langle $1, $2 \right \rangle $0
+endsnippet
+
+snippet real "Real numbers" i
+\mathbb R
+endsnippet