summaryrefslogtreecommitdiff
path: root/vim/mySnippets
diff options
context:
space:
mode:
Diffstat (limited to 'vim/mySnippets')
-rw-r--r--vim/mySnippets/python.snippets6
-rw-r--r--vim/mySnippets/tex.snippets4
2 files changed, 7 insertions, 3 deletions
diff --git a/vim/mySnippets/python.snippets b/vim/mySnippets/python.snippets
index 4a7d74d..6dbc272 100644
--- a/vim/mySnippets/python.snippets
+++ b/vim/mySnippets/python.snippets
@@ -1,4 +1,4 @@
-snippet nicolas "Nicolas" i
-Nicolas est le meilleur programmeur $1
-$0
+snippet fori "for loop over range" b
+for ${1:i} in range(${2:n}):
+ ${0:pass}
endsnippet
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index 884cc2d..31f651b 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -108,3 +108,7 @@ snippet frame "My frame snippet" b
$0
\end{frame}
endsnippet
+
+snippet gauss "Gaussian" w
+\gaussian{${1:\mu}}{${2:\Sigma}}$0
+endsnippet