Browse Source

Generic for, alias and multi-line equation

For C, bash and LaTeX respectively.
red-hat-laptop
Kevin Mok 6 years ago
commit
872f0e5e0e
  1. 5
      c.snippets
  2. 3
      sh.snippets
  3. 7
      texmath.snippets

5
c.snippets

@ -0,0 +1,5 @@
snippet forg "Generic for"
for (int i = 0; i < ${1:count}; i++) {
${2}
}
endsnippet

3
sh.snippets

@ -0,0 +1,3 @@
snippet alias "Custom alias"
alias ${1:name}="${2:command}"
endsnippet

7
texmath.snippets

@ -0,0 +1,7 @@
snippet eqs "Equation with split" b
\begin{equation*}
\begin{split}
$0
\end{split}
\end{equation*}
endsnippet
Loading…
Cancel
Save