commit 872f0e5e0e9c1d6e2e10be0774e05d3426ada565 Author: Kevin Mok Date: Wed Jan 31 00:03:56 2018 -0500 Generic for, alias and multi-line equation For C, bash and LaTeX respectively. diff --git a/c.snippets b/c.snippets new file mode 100644 index 0000000..b213a7f --- /dev/null +++ b/c.snippets @@ -0,0 +1,5 @@ +snippet forg "Generic for" +for (int i = 0; i < ${1:count}; i++) { + ${2} +} +endsnippet diff --git a/sh.snippets b/sh.snippets new file mode 100644 index 0000000..9256604 --- /dev/null +++ b/sh.snippets @@ -0,0 +1,3 @@ +snippet alias "Custom alias" +alias ${1:name}="${2:command}" +endsnippet diff --git a/texmath.snippets b/texmath.snippets new file mode 100644 index 0000000..c5a7018 --- /dev/null +++ b/texmath.snippets @@ -0,0 +1,7 @@ +snippet eqs "Equation with split" b +\begin{equation*} + \begin{split} + $0 + \end{split} +\end{equation*} +endsnippet