diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-07-09 10:57:46 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-07-09 10:57:46 +0200 |
commit | 4787eec9fffad5e8e6fb187ec62f85299e6cf336 (patch) | |
tree | 5fccf5fc03d6076a633b6f0c2dcdfe4da577aa7b /vim/mySnippets | |
parent | f526017928ea2c928877dc519ad97dc5ffafd416 (diff) |
Add minor changes
Diffstat (limited to 'vim/mySnippets')
-rw-r--r-- | vim/mySnippets/python.snippets | 6 | ||||
-rw-r--r-- | vim/mySnippets/tex.snippets | 4 |
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 |