From b3841d93ca1ed36d5cc338f6c82a010a80548bd2 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Tue, 8 Oct 2024 14:00:59 -0400 Subject: [PATCH] feat(vim): Add absval snippet for TeX --- vim/snips/tex/math.snippets | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/snips/tex/math.snippets b/vim/snips/tex/math.snippets index 98801e91..5a98f0ee 100644 --- a/vim/snips/tex/math.snippets +++ b/vim/snips/tex/math.snippets @@ -10,6 +10,9 @@ endsnippet snippet < "Left/right angle brackets" i \left< ${1:<+Content+>} \right> $0 endsnippet +snippet | "Left/right absolute value" i +\left\lvert ${1:(Content)} \right\rvert $0 +endsnippet snippet floor "Floor" i \left\lfloor ${1:<+Content+>} \right\rfloor$0