summaryrefslogtreecommitdiff
path: root/vim/mySnippets
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-07-09 09:59:55 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-07-09 09:59:55 +0100
commitfe7491a08acf724115d8e00412a1f9a6a3b02be3 (patch)
tree3a82c75e91e78ce3e37bd5ea8751c151bcf2a878 /vim/mySnippets
parent99ccfa65670b100059286f84b374bfa8e70b1aba (diff)
parent4787eec9fffad5e8e6fb187ec62f85299e6cf336 (diff)
Merge branch 'master' of github.com:uvaes/dotfiles
Conflicts: vim/mySnippets/tex.snippets
Diffstat (limited to 'vim/mySnippets')
-rw-r--r--vim/mySnippets/python.snippets6
-rw-r--r--vim/mySnippets/tex.snippets2
2 files changed, 4 insertions, 4 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 0a7c9a3..9c74845 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -106,5 +106,5 @@ snippet frame "My frame snippet" b
endsnippet
snippet gauss "Gaussian density" w
-\gaussian{${1:\mu}}{${2:\Sigma}}
+\gaussian{${1:\mu}}{${2:\Sigma}}$0
endsnippet