summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--vim/mySnippets/all.snippets4
-rw-r--r--vim/mySnippets/tex.snippets11
3 files changed, 16 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index b93334c..004d84e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@ vim/bundle/
vifm/Trash/
mutt/mutt-colors-solarized/
mutt/temp/
+passwords
+mutt/cache/
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