Generic for, alias and multi-line equation

For C, bash and LaTeX respectively.
This commit is contained in:
2018-01-31 00:03:56 -05:00
commit 872f0e5e0e
3 changed files with 15 additions and 0 deletions

5
c.snippets Normal file
View File

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

3
sh.snippets Normal file
View File

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

7
texmath.snippets Normal file
View File

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