diff options
Diffstat (limited to 'nvim/mySnippets')
-rw-r--r-- | nvim/mySnippets/python.snippets | 4 | ||||
-rw-r--r-- | nvim/mySnippets/tex.snippets | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/nvim/mySnippets/python.snippets b/nvim/mySnippets/python.snippets index e69de29..4a7d74d 100644 --- a/nvim/mySnippets/python.snippets +++ b/nvim/mySnippets/python.snippets @@ -0,0 +1,4 @@ +snippet nicolas "Nicolas" i +Nicolas est le meilleur programmeur $1 +$0 +endsnippet diff --git a/nvim/mySnippets/tex.snippets b/nvim/mySnippets/tex.snippets index fb061f0..883a37d 100644 --- a/nvim/mySnippets/tex.snippets +++ b/nvim/mySnippets/tex.snippets @@ -46,16 +46,24 @@ snippet ip "Inner product" i \ip{$1}{$2}$0 endsnippet +snippet ipw "Inner product" i +\wip{$1}{$2}{$3}$0 +endsnippet + snippet norm "Norm" i \norm{$1}$0 endsnippet +snippet normw "Weighted norm" i +\wnorm{$1}{${2:\gamma}} +endsnippet + snippet test "Test functions" i \test{${1:\real^n}}$0 endsnippet snippet lp "Flat Lp space" i -\lp{${1:2}}{${2:\real^n}}$0 +\flp{${1:2}}{${2:\real^n}}$0 endsnippet snippet lpw "Weighted Lp space" i |