summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-03-27 15:31:32 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-03-27 15:31:32 +0000
commit53203ab62154cd7c337ada62bf06094adc05325e (patch)
treed7a49268837e721ac7cae7f4925109e30ae38a55 /vim
parent72de482ee4fa06bc096f70be5b2a12e10451068f (diff)
parent02d2513655c0e94ac362791384d17372701e606e (diff)
Resolving conflicts
Diffstat (limited to 'vim')
-rw-r--r--vim/mySnippets/tex.snippets16
-rw-r--r--vim/vimrc1
2 files changed, 14 insertions, 3 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index ac0fd05..0fba4e8 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -19,11 +19,11 @@ snippet op "Operator style" i
endsnippet
snippet pard "Partial derivative" i
-\pard{$1}{$2}$0
+\pardl{$1}{$2}$0
endsnippet
snippet pardd "Double partial derivative" i
-\pardd{$1}{$2}$0
+\parddl{$1}{$2}$0
endsnippet
snippet herm "Hermite polynomials" i
@@ -38,6 +38,10 @@ snippet sumi "Sum over index set" i
\sum_{${1:i} \in ${2:I}}$0
endsnippet
+snippet int "Integral" i
+\int_{$1}
+endsnippet
+
snippet ip "Inner product" i
\ip{$1}{$2}$0
endsnippet
@@ -85,3 +89,11 @@ endsnippet
snippet sum "Sum" i
\sum_{${1:i=1}}^{${2:n}}
endsnippet
+
+snippet smooth "Smooth function" i
+\smooth{${1:\real^n}} $0
+endsnippet
+
+snippet cont "Continuous function" i
+\cont{$1}{$2} $0
+endsnippet
diff --git a/vim/vimrc b/vim/vimrc
index 1ef49d4..bef1eb2 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -215,7 +215,6 @@ vnoremap g^ ^
"" Latex
nmap <buffer> <F2> <Plug>LatexChangeEnv
let g:tex_fast=""
-
autocmd Filetype tex call SetTexOptions()
function! SetTexOptions()