1
Fork 0

Update invidious and some other nvim stuff

This commit is contained in:
prescientmoon 2024-04-27 21:38:06 +02:00
parent e58eb41fb1
commit 3c1f1d71f3
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
15 changed files with 170 additions and 146 deletions
home/features/neovim/snippets

View file

@ -92,8 +92,8 @@ block math
$7 & $8 & $9
\end{@matenv}
for operator <- @⟨eq,neq,defas,leq,geq,lt,gt,iip,iib⟩
for symbol <- @⟨@operator:=,\neq,\coloneq,\leq,\geq,<,>,\implies,\impliedby⟩
for operator <- @⟨eq,neq,defas,leq,geq,lt,gt,iip,iib,iff
for symbol <- @⟨@operator:=,\neq,\coloneq,\leq,\geq,<,>,\implies,\impliedby,\iff
block auto
abbr @operator @symbol
@ -102,16 +102,16 @@ block math
name align at @operator
snip &@symbol $0
block auto start
string al@operator
name aligned @operator
snip
\\\\ $1 &@symbol $2
$0
block start
string al@operator
name aligned @operator
snip
\\\\ $1 &@symbol $2
$0
string cr@operator
name start with @operator
snip \\\\&@symbol $0
string cr@operator
name start with @operator
snip \\\\&@symbol $0
block start
string eqsystem
@ -224,13 +224,22 @@ block math
snip ^{$1} $0
pattern (%a)(.)pp
name auto parenthesis
name auto function call
snip @0(@1) $0
pattern (%a)d(.)p
name auto parenthesis
name auto derivative call
snip @0'(@1) $0
pattern (%a)i(.)p
name auto preimage call
snip @0^{-1}(@1) $0
block !word
abbr .inv ^{-1}
abbr .neg _-
abbr .pos _+
for limtarget <- @⟨anything,zero,infinity,negative infinity⟩
for prefix <- @⟨@limtarget:,z,i,n⟩
for limtargetsymbol <- @⟨@limtarget:$2,0,\infty,-\infty⟩