Skip to content

Commit

Permalink
Improvements to the tex/texmath snippets by jorge
Browse files Browse the repository at this point in the history
  • Loading branch information
SirVer committed Feb 6, 2012
1 parent 22bb4e0 commit a5738f6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion UltiSnips/tex.snippets
Expand Up @@ -17,7 +17,7 @@ endsnippet
#################
snippet "b(egin)?" "begin{} / end{}" br
\begin{${1:something}}
$0
${0:${VISUAL}}
\end{$1}
endsnippet

Expand Down
12 changes: 10 additions & 2 deletions UltiSnips/texmath.snippets
Expand Up @@ -36,11 +36,19 @@ snippet mat "Smart Matrix"
endsnippet

snippet lr( "left( right)" w
\left( $0 \right)
\left( ${1:${VISUAL}} \right)
endsnippet

snippet lr| "left| right|" w
\left| $0 \right|
\left| ${1:${VISUAL}} \right|
endsnippet

snippet lr{ "left\{ right\}" w
\left\\{ ${1:${VISUAL}} \right\\}
endsnippet

snippet lr[ "left[ right]" w
\left[ ${1:${VISUAL}} \right]
endsnippet

# vim:ft=snippets:
1 change: 1 addition & 0 deletions doc/UltiSnips.txt
Expand Up @@ -835,6 +835,7 @@ Contributers are listed in chronological order:
Georgi Valkov (gvalkov)
Miek Gieben (miek)
Aldis Berjoza (graudeejs)
Jorge (skeept)

vim:tw=78:ts=8:ft=help:norl:

0 comments on commit a5738f6

Please sign in to comment.