summaryrefslogtreecommitdiffstats
path: root/.config/nvim/my_snippets/tex.snippets
diff options
context:
space:
mode:
authorYigit Sever2022-01-06 21:10:41 +0300
committerYigit Sever2022-01-06 21:10:41 +0300
commit77c95fbb15af968d260f829f8e0c0c221fb56d56 (patch)
tree79e18e08dcf10e6480320fe4d39279cd2a72338e /.config/nvim/my_snippets/tex.snippets
parent729f26862bc2ccc5f5fbc3cfc85537670f197fec (diff)
downloaddotfiles-77c95fbb15af968d260f829f8e0c0c221fb56d56.tar.gz
dotfiles-77c95fbb15af968d260f829f8e0c0c221fb56d56.tar.bz2
dotfiles-77c95fbb15af968d260f829f8e0c0c221fb56d56.zip
nvim: new snippets
Diffstat (limited to '.config/nvim/my_snippets/tex.snippets')
-rw-r--r--.config/nvim/my_snippets/tex.snippets5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/nvim/my_snippets/tex.snippets b/.config/nvim/my_snippets/tex.snippets
index f81ad94..9941420 100644
--- a/.config/nvim/my_snippets/tex.snippets
+++ b/.config/nvim/my_snippets/tex.snippets
@@ -107,6 +107,11 @@ snippet '([A-Za-z])(\d)' "auto subscript" wrA
107endsnippet 107endsnippet
108 108
109context "math()" 109context "math()"
110snippet -> "auto rightarrow" wrA
111\rightarrow
112endsnippet
113
114context "math()"
110snippet '([A-Za-z])_(\d\d)' "auto subscript2" wrA 115snippet '([A-Za-z])_(\d\d)' "auto subscript2" wrA
111`!p snip.rv = match.group(1)`_{`!p snip.rv = match.group(2)`} 116`!p snip.rv = match.group(1)`_{`!p snip.rv = match.group(2)`}
112endsnippet 117endsnippet