From 4787eec9fffad5e8e6fb187ec62f85299e6cf336 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 9 Jul 2015 10:57:46 +0200 Subject: Add minor changes --- vim/mySnippets/python.snippets | 6 +++--- vim/mySnippets/tex.snippets | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'vim/mySnippets') 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 -- cgit v1.2.3