summaryrefslogtreecommitdiff
path: root/vim-extra/.config/nvim/UltiSnips/latex.snippets
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-04-05 11:35:37 +0200
committerJulian T <julian@jtle.dk>2021-04-05 11:35:37 +0200
commit7263eaadd5262f6e1b222e2c862fe8cf2b2f24f7 (patch)
tree336006306a21a78e267c72bd394498d599aa2ad1 /vim-extra/.config/nvim/UltiSnips/latex.snippets
parent465baf9b1fa0acb2cdf6dd539e15828837b16dba (diff)
Move vim stuff into neovim only
Diffstat (limited to 'vim-extra/.config/nvim/UltiSnips/latex.snippets')
-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