Advertisement
lightningleaf

More key extensions

Jun 4th, 2016
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. Correctly rendering the commented characters requires UTF-16 encoding.
  3. SciTE4: File > Encoding > UTF-16 Little Endian to display the commented characters correctly.
  4. I looked up the hex values of these Unicode code points using unicodelookup.com .
  5. Hats off to the dev Jonathan Hedley for making such an insanely flexible tool.
  6. */
  7.  
  8. global GlobalCycleKey := "``"
  9.  
  10. =::CycleAltKeys(["{U+003D}", "{U+2248}"], GlobalCycleKey) ; =, ≈
  11.  
  12. ~::CycleAltKeys(["{U+0065}", "{U+03B5}"], GlobalCycleKey) ; e, ε
  13.  
  14. <::CycleAltKeys(["{U+003C}", "{U+2264}"], GlobalCycleKey) ; <, ≤
  15.  
  16. >::CycleAltKeys(["{U+003E}", "{U+2265}"], GlobalCycleKey) ; >, ≥
  17.  
  18. a::CycleAltKeys(["{U+0061}", "{U+03B1}"], GlobalCycleKey) ; a, α
  19.  
  20. b::CycleAltKeys(["{U+0062}", "{U+03B2}"], GlobalCycleKey) ; b, β
  21.  
  22. d::CycleAltKeys(["{U+0064}", "{U+0394}"], GlobalCycleKey) ; d, Δ
  23.  
  24. e::CycleAltKeys(["{U+0065}", "{U+03B5}"], GlobalCycleKey) ; e, ε
  25.  
  26. l::CycleAltKeys(["{U+006C}", "{U+03BB}"], GlobalCycleKey) ; l, λ
  27.  
  28. t::CycleAltKeys(["{U+0074}", "{U+03C4}"], GlobalCycleKey) ; t, τ
  29.  
  30. u::CycleAltKeys(["{U+0075}", "{U+03BC}"], GlobalCycleKey) ; u, μ
  31.  
  32. x::CycleAltKeys(["{U+0078}", "{U+03C7}", "{U+2A2F}"], GlobalCycleKey) ; x, χ, ⨯
  33.  
  34. y::CycleAltKeys(["{U+0079}", "{U+03B3}"], GlobalCycleKey) ; y, γ
  35.  
  36. 0::CycleAltKeys(["{U+0030}", "{U+03B8}", "{U+03C6}"], GlobalCycleKey) ; 0, θ, φ (angles)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement