summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.netrwhist3
-rw-r--r--nvim/mySnippets/python.snippets4
-rw-r--r--nvim/mySnippets/tex.snippets10
3 files changed, 15 insertions, 2 deletions
diff --git a/nvim/.netrwhist b/nvim/.netrwhist
index 8e202e0..1773c55 100644
--- a/nvim/.netrwhist
+++ b/nvim/.netrwhist
@@ -1,5 +1,6 @@
let g:netrw_dirhistmax =10
-let g:netrw_dirhist_cnt =3
+let g:netrw_dirhist_cnt =4
let g:netrw_dirhist_1='/home/urbain/Dropbox/phd/reports/mres'
let g:netrw_dirhist_2='/home/urbain/dotfiles/git_template/hooks'
let g:netrw_dirhist_3='/home/urbain/bin'
+let g:netrw_dirhist_4='/home/urbain/dotfiles/nvim'
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