diff options
Diffstat (limited to 'vim/mySnippets')
-rw-r--r-- | vim/mySnippets/python.snippets | 6 | ||||
-rw-r--r-- | vim/mySnippets/tex.snippets | 2 |
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 |