Generic for, alias and multi-line equation
For C, bash and LaTeX respectively.
This commit is contained in:
5
c.snippets
Normal file
5
c.snippets
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
snippet forg "Generic for"
|
||||||
|
for (int i = 0; i < ${1:count}; i++) {
|
||||||
|
${2}
|
||||||
|
}
|
||||||
|
endsnippet
|
||||||
3
sh.snippets
Normal file
3
sh.snippets
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
snippet alias "Custom alias"
|
||||||
|
alias ${1:name}="${2:command}"
|
||||||
|
endsnippet
|
||||||
7
texmath.snippets
Normal file
7
texmath.snippets
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
snippet eqs "Equation with split" b
|
||||||
|
\begin{equation*}
|
||||||
|
\begin{split}
|
||||||
|
$0
|
||||||
|
\end{split}
|
||||||
|
\end{equation*}
|
||||||
|
endsnippet
|
||||||
Reference in New Issue
Block a user