From 99ccfa65670b100059286f84b374bfa8e70b1aba Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 9 Jul 2015 09:58:28 +0100 Subject: Use w instead of i for snippets --- vim/bundle/vundle | 1 + vim/mySnippets/tex.snippets | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) create mode 160000 vim/bundle/vundle (limited to 'vim') diff --git a/vim/bundle/vundle b/vim/bundle/vundle new file mode 160000 index 0000000..cfd3b2d --- /dev/null +++ b/vim/bundle/vundle @@ -0,0 +1 @@ +Subproject commit cfd3b2d388a8c2e9903d7a9d80a65539aabfe933 diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets index 884cc2d..0a7c9a3 100644 --- a/vim/mySnippets/tex.snippets +++ b/vim/mySnippets/tex.snippets @@ -70,35 +70,31 @@ snippet sob "Sobolev spaces" w \sobolev{${1:exponent}}{${2:domain}}${3/^.+$/[/}${3:weight}${3/^.+$/]/}$0 endsnippet -snippet cont "Continuous function" i +snippet cont "Continuous function" w \cont{$1}{$2}$0 endsnippet -snippet mean "Expectation" i +snippet mean "Expectation" w \expect $0 endsnippet -snippet dot "Dot product" i +snippet dot "Dot product" w \dotx endsnippet -snippet abs "Absolute value" i +snippet abs "Absolute value" w \abs{ $1 }$0 endsnippet -snippet sum "Sum" i +snippet sum "Sum" w \sum_{${1:i=1}}^{${2:n}} endsnippet -snippet smooth "Smooth function" i +snippet smooth "Smooth function" w \smooth{${1:\real^n}} $0 endsnippet -snippet cont "Continuous function" i -\cont{$1}{$2} $0 -endsnippet - -snippet ref "Clever reference" i +snippet ref "Clever reference" w \cref{$1}$0 endsnippet @@ -108,3 +104,7 @@ snippet frame "My frame snippet" b $0 \end{frame} endsnippet + +snippet gauss "Gaussian density" w +\gaussian{${1:\mu}}{${2:\Sigma}} +endsnippet -- cgit v1.2.3