aboutsummaryrefslogtreecommitdiffhomepage
path: root/editors/vim
diff options
context:
space:
mode:
authorMarvin Borner2022-08-31 00:50:16 +0200
committerMarvin Borner2022-08-31 00:50:16 +0200
commit906fe10ab27f010f676c0c05d9b81abd15225c6a (patch)
tree05da144d2e6f586fac0cfa497ca492c105502dce /editors/vim
parent7209f9dde5ea9085cf61a7210be836e1e7f8dcc7 (diff)
Unicodification
I like unicode, sorry if you have a different opinion
Diffstat (limited to 'editors/vim')
-rw-r--r--editors/vim/bruijn.snippets365
1 files changed, 263 insertions, 102 deletions
diff --git a/editors/vim/bruijn.snippets b/editors/vim/bruijn.snippets
index 35b94cf..f0bd285 100644
--- a/editors/vim/bruijn.snippets
+++ b/editors/vim/bruijn.snippets
@@ -1,213 +1,374 @@
+# MIT License, Copyright (c) 2022 Marvin Borner
+# don't worry, this is mostly automatically generated
+
priority 0
# === Definition snippets ===
-snippet "(.+)>" "prefix" r
+snippet "(.+)>" "" r
`!p snip.rv = match.group(1)`‣ $0
endsnippet
-snippet "(.*)\." "mixfix" r
+snippet "(.*)\." "" r
`!p snip.rv = match.group(1)`…$0
endsnippet
+# === Operators ===
+
+snippet "(.*)&&" "" r
+`!p snip.rv = match.group(1)`⋀$0
+endsnippet
+
+snippet "(.*)\|\|" "" r
+`!p snip.rv = match.group(1)`⋁$0
+endsnippet
+
+snippet "(.*)=>" "" r
+`!p snip.rv = match.group(1)`⇒$0
+endsnippet
+
+snippet "(.*)<=>" "" r
+`!p snip.rv = match.group(1)`⇔$0
+endsnippet
+
+snippet "(.*)->" "" r
+`!p snip.rv = match.group(1)`→$0
+endsnippet
+
+snippet "(.*)<->" "" r
+`!p snip.rv = match.group(1)`↔$0
+endsnippet
+
+snippet "(.*)<=" "" r
+`!p snip.rv = match.group(1)`≤$0
+endsnippet
+
+snippet "(.*)>=" "" r
+`!p snip.rv = match.group(1)`≥$0
+endsnippet
+
+snippet "(.*)!" "" r
+`!p snip.rv = match.group(1)`¬$0
+endsnippet
+
+snippet "(.*)_0" "" r
+`!p snip.rv = match.group(1)`₀$0
+endsnippet
+
+snippet "(.*)_1" "" r
+`!p snip.rv = match.group(1)`₁$0
+endsnippet
+
+snippet "(.*)_2" "" r
+`!p snip.rv = match.group(1)`₂$0
+endsnippet
+
+snippet "(.*)_3" "" r
+`!p snip.rv = match.group(1)`₃$0
+endsnippet
+
+snippet "(.*)_4" "" r
+`!p snip.rv = match.group(1)`₄$0
+endsnippet
+
+snippet "(.*)_5" "" r
+`!p snip.rv = match.group(1)`₅$0
+endsnippet
+
+snippet "(.*)_6" "" r
+`!p snip.rv = match.group(1)`₆$0
+endsnippet
+
+snippet "(.*)_7" "" r
+`!p snip.rv = match.group(1)`₇$0
+endsnippet
+
+snippet "(.*)_8" "" r
+`!p snip.rv = match.group(1)`₈$0
+endsnippet
+
+snippet "(.*)_9" "" r
+`!p snip.rv = match.group(1)`₉$0
+endsnippet
+
+snippet "(.*)_+" "" r
+`!p snip.rv = match.group(1)`₊$0
+endsnippet
+
+snippet "(.*)_-" "" r
+`!p snip.rv = match.group(1)`₋$0
+endsnippet
+
+snippet "(.*)_=" "" r
+`!p snip.rv = match.group(1)`₌$0
+endsnippet
+
+snippet "(.*)_\(" "" r
+`!p snip.rv = match.group(1)`₍$0
+endsnippet
+
+snippet "(.*)_\)" "" r
+`!p snip.rv = match.group(1)`₎$0
+endsnippet
+
+snippet "(.*)\^0" "" r
+`!p snip.rv = match.group(1)`⁰$0
+endsnippet
+
+snippet "(.*)\^1" "" r
+`!p snip.rv = match.group(1)`¹$0
+endsnippet
+
+snippet "(.*)\^2" "" r
+`!p snip.rv = match.group(1)`²$0
+endsnippet
+
+snippet "(.*)\^3" "" r
+`!p snip.rv = match.group(1)`³$0
+endsnippet
+
+snippet "(.*)\^4" "" r
+`!p snip.rv = match.group(1)`⁴$0
+endsnippet
+
+snippet "(.*)\^5" "" r
+`!p snip.rv = match.group(1)`⁵$0
+endsnippet
+
+snippet "(.*)\^6" "" r
+`!p snip.rv = match.group(1)`⁶$0
+endsnippet
+
+snippet "(.*)\^7" "" r
+`!p snip.rv = match.group(1)`⁷$0
+endsnippet
+
+snippet "(.*)\^8" "" r
+`!p snip.rv = match.group(1)`⁸$0
+endsnippet
+
+snippet "(.*)\^9" "" r
+`!p snip.rv = match.group(1)`⁹$0
+endsnippet
+
+snippet "(.*)\^+" "" r
+`!p snip.rv = match.group(1)`⁺$0
+endsnippet
+
+snippet "(.*)\^-" "" r
+`!p snip.rv = match.group(1)`⁻$0
+endsnippet
+
+snippet "(.*)\^=" "" r
+`!p snip.rv = match.group(1)`⁼$0
+endsnippet
+
+snippet "(.*)\^\(" "" r
+`!p snip.rv = match.group(1)`⁽$0
+endsnippet
+
+snippet "(.*)\^\)" "" r
+`!p snip.rv = match.group(1)`⁾$0
+endsnippet
+
# === Greek letters ===
-snippet Alpha
+snippet "(.*)Alpha" "" r
+`!p snip.rv = match.group(1)`Α$0
endsnippet
-snippet alpha
+snippet "(.*)alpha" "" r
+`!p snip.rv = match.group(1)`α$0
endsnippet
-snippet Beta
+snippet "(.*)Beta" "" r
+`!p snip.rv = match.group(1)`Β$0
endsnippet
-snippet beta
+snippet "(.*)beta" "" r
+`!p snip.rv = match.group(1)`β$0
endsnippet
-snippet Gamma
+snippet "(.*)Gamma" "" r
+`!p snip.rv = match.group(1)`Γ$0
endsnippet
-snippet gamma
+snippet "(.*)gamma" "" r
+`!p snip.rv = match.group(1)`γ$0
endsnippet
-snippet Delta
+snippet "(.*)Delta" "" r
+`!p snip.rv = match.group(1)`Δ$0
endsnippet
-snippet delta
+snippet "(.*)delta" "" r
+`!p snip.rv = match.group(1)`δ$0
endsnippet
-snippet Epsilon
+snippet "(.*)Epsilon" "" r
+`!p snip.rv = match.group(1)`Ε$0
endsnippet
-snippet epsilon
+snippet "(.*)epsilon" "" r
+`!p snip.rv = match.group(1)`ε$0
endsnippet
-snippet varepsilon
+snippet "(.*)varepsilon" "" r
+`!p snip.rv = match.group(1)`ϵ$0
endsnippet
-snippet Zeta
+snippet "(.*)Zeta" "" r
+`!p snip.rv = match.group(1)`Ζ$0
endsnippet
-snippet zeta
+snippet "(.*)zeta" "" r
+`!p snip.rv = match.group(1)`ζ$0
endsnippet
-snippet Eta
+snippet "(.*)Eta" "" r
+`!p snip.rv = match.group(1)`Η$0
endsnippet
-snippet eta
+snippet "(.*)eta" "" r
+`!p snip.rv = match.group(1)`η$0
endsnippet
-snippet Theta
+snippet "(.*)Theta" "" r
+`!p snip.rv = match.group(1)`Θ$0
endsnippet
-snippet theta
+snippet "(.*)theta" "" r
+`!p snip.rv = match.group(1)`θ$0
endsnippet
-snippet Iota
+snippet "(.*)Iota" "" r
+`!p snip.rv = match.group(1)`Ι$0
endsnippet
-snippet iota
+snippet "(.*)iota" "" r
+`!p snip.rv = match.group(1)`ι$0
endsnippet
-snippet Kappa
+snippet "(.*)Kappa" "" r
+`!p snip.rv = match.group(1)`Κ$0
endsnippet
-snippet kappa
+snippet "(.*)kappa" "" r
+`!p snip.rv = match.group(1)`κ$0
endsnippet
-snippet Lambda
+snippet "(.*)Lambda" "" r
+`!p snip.rv = match.group(1)`Λ$0
endsnippet
-snippet lambda
+snippet "(.*)lambda" "" r
+`!p snip.rv = match.group(1)`λ$0
endsnippet
-snippet Mu
+snippet "(.*)Mu" "" r
+`!p snip.rv = match.group(1)`Μ$0
endsnippet
-snippet mu
+snippet "(.*)mu" "" r
+`!p snip.rv = match.group(1)`μ$0
endsnippet
-snippet Nu
+snippet "(.*)Nu" "" r
+`!p snip.rv = match.group(1)`Ν$0
endsnippet
-snippet nu
+snippet "(.*)nu" "" r
+`!p snip.rv = match.group(1)`ν$0
endsnippet
-snippet Xi
+snippet "(.*)Xi" "" r
+`!p snip.rv = match.group(1)`Ξ$0
endsnippet
-snippet xi
+snippet "(.*)xi" "" r
+`!p snip.rv = match.group(1)`ξ$0
endsnippet
-snippet Omicron
+snippet "(.*)Omicron" "" r
+`!p snip.rv = match.group(1)`Ο$0
endsnippet
-snippet omicron
-ο
+snippet "(.*)omicron" "" r
+`!p snip.rv = match.group(1)`ο$0
endsnippet
-snippet Pi
+snippet "(.*)Pi" "" r
+`!p snip.rv = match.group(1)`Π$0
endsnippet
-snippet pi
+snippet "(.*)pi" "" r
+`!p snip.rv = match.group(1)`π$0
endsnippet
-snippet Rho
+snippet "(.*)Rho" "" r
+`!p snip.rv = match.group(1)`Ρ$0
endsnippet
-snippet rho
+snippet "(.*)rho" "" r
+`!p snip.rv = match.group(1)`ρ$0
endsnippet
-snippet Sigma
+snippet "(.*)Sigma" "" r
+`!p snip.rv = match.group(1)`Σ$0
endsnippet
-snippet sigma
+snippet "(.*)sigma" "" r
+`!p snip.rv = match.group(1)`σ$0
endsnippet
-snippet Tau
+snippet "(.*)Tau" "" r
+`!p snip.rv = match.group(1)`Τ$0
endsnippet
-snippet tau
+snippet "(.*)tau" "" r
+`!p snip.rv = match.group(1)`τ$0
endsnippet
-snippet Upsilon
+snippet "(.*)Upsilon" "" r
+`!p snip.rv = match.group(1)`Υ$0
endsnippet
-snippet upsilon
+snippet "(.*)upsilon" "" r
+`!p snip.rv = match.group(1)`υ$0
endsnippet
-snippet Phi
+snippet "(.*)Phi" "" r
+`!p snip.rv = match.group(1)`Φ$0
endsnippet
-snippet phi
+snippet "(.*)phi" "" r
+`!p snip.rv = match.group(1)`φ$0
endsnippet
-snippet varphi
+snippet "(.*)varphi" "" r
+`!p snip.rv = match.group(1)`ϕ$0
endsnippet
-snippet Chi
+snippet "(.*)Chi" "" r
+`!p snip.rv = match.group(1)`Χ$0
endsnippet
-snippet chi
+snippet "(.*)chi" "" r
+`!p snip.rv = match.group(1)`χ$0
endsnippet
-snippet Psi
+snippet "(.*)Psi" "" r
+`!p snip.rv = match.group(1)`Ψ$0
endsnippet
-snippet psi
+snippet "(.*)psi" "" r
+`!p snip.rv = match.group(1)`ψ$0
endsnippet
-snippet Omega
+snippet "(.*)Omega" "" r
+`!p snip.rv = match.group(1)`Ω$0
endsnippet
-snippet omega
+snippet "(.*)omega" "" r
+`!p snip.rv = match.group(1)`ω$0
endsnippet