summaryrefslogtreecommitdiff
path: root/nvim/mySnippets
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-06-18 11:43:34 +0200
committerUrbain Vaes <urbain@vaes.uk>2015-06-18 11:43:34 +0200
commit6c9dd9ada1329bf1dc96be23ab4e48320b874865 (patch)
treeb37ff5e7ea8b59180e477e6527f81c3e13cd334d /nvim/mySnippets
parenta9eafd950f9ea4bc20a5a8cd00fd1536cd0a8f2b (diff)
Add minor changes (colorschemes + fzf integration)
Diffstat (limited to 'nvim/mySnippets')
-rw-r--r--nvim/mySnippets/python.snippets4
-rw-r--r--nvim/mySnippets/tex.snippets10
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