summaryrefslogtreecommitdiff
path: root/vim-extra/.config/nvim/UltiSnips
diff options
context:
space:
mode:
Diffstat (limited to 'vim-extra/.config/nvim/UltiSnips')
-rw-r--r--vim-extra/.config/nvim/UltiSnips/latex.snippets10
1 files changed, 10 insertions, 0 deletions
diff --git a/vim-extra/.config/nvim/UltiSnips/latex.snippets b/vim-extra/.config/nvim/UltiSnips/latex.snippets
new file mode 100644
index 0000000..a3e508f
--- /dev/null
+++ b/vim-extra/.config/nvim/UltiSnips/latex.snippets
@@ -0,0 +1,10 @@
+# https://castel.dev/post/lecture-notes-1/
+snippet beg "begin{} / end{}" bA
+\begin{$1}
+ $0
+\end{$1}
+endsnippet
+
+snippet mk "Inline math" wA
+$${1}$
+end