Reformat comments, reduce line count

This commit is contained in:
RedBearAK
2022-06-23 01:32:26 -08:00
committed by GitHub
parent f3c0b51481
commit 66407d6010

View File

@@ -923,87 +923,42 @@ toggle_optspecialchars:
Return
; ### SC029 is ` (Grave key above Tab)
; Grave Accent diacritic (non-combining) {U+0060}: ` (Alt+96)
$!+SC029::Send, {U+0060}
; Inverted Exclamation Mark {U+00A1}: ¡ (Alt+0161)
!1::Send, {U+00A1}
; Fraction Slash, solidus (U+2044): (Alt+8260) [Needs Unicode]
!+1::Send, {U+2044}
; Trade Mark Sign Emoji {U+2122}: ™ (Alt+0153)
!2::Send, {U+2122}
; Euro currency symbol {U+20AC}: € (Alt+0128)
!+2::Send, {U+20AC}
; British Pound currency symbol {U+00A3}: £ (Alt+0163)
!3::Send, {U+00A3}
; Single Left-Pointing Angle Quotation mark {U+2039}: (Alt+0139)
!+3::Send, {U+2039}
; Cent currency symbol {U+00A2}: ¢ (Alt+0162)
!4::Send, {U+00A2}
; Single Right-Pointing Angle Quotation mark (U+203A): (Alt+0155)
!+4::Send, {U+203A}
; Infinity mathematical symbol {U+221E}: (Alt+236)
!5::Send, {U+221E}
; fi latin small ligature: fi (U+FB01) (Alt+64257) [Needs Unicode]
!+5::Send, {U+FB01}
; Section symbol {U+00A7}: § (Alt+0167)
!6::Send, {U+00A7}
; fl small ligature: (U+FB02) (Alt+64258) [Needs Unicode.]
!+6::Send, {U+FB02}
; Paragraph mark (Pilcrow) symbol {U+00B6}: ¶ (Alt+0182)
!7::Send, {U+00B6}
; Double dagger (cross) symbol {U+2021}: ‡ (Alt+0135) [Simple dagger/cross: Alt+0134]
!+7::Send, {U+2021}
; Bullet point symbol {U+2022}: • (Alt+0149)
!8::Send, {U+2022}
; Degree symbol {U+00B0}: ° (Alt+0176)
; NOT degree symbol: Option+0: Masculine Ordinal Indicator {U+00BA} (Alt+167 or 0186)
; Also NOT degree symbol: Option+k: Ring Above diacritic {U+02DA}
!+8::Send, {U+00B0}
; Feminine Ordinal Indicator symbol {U+00AA}: ª (Alt+0170)
!9::Send, {U+00AA}
; Middle Dot (interpunct/middot) symbol {U+00B7}: · (Alt+0183)
!+9::Send, {U+00B7}
; Masculine Ordinal Indicator symbol {U+00BA}: º (Alt+0186)
!0::Send, {U+00BA}
; Single low-9 quotation mark {U+201A}: (Alt+0130)
!+0::Send, {U+201A}
; En Dash symbol {U+2013}: (Alt+0150)
!-::Send, {U+2013}
; Em Dash symbol {U+2014}: — (Alt+0151)
!+-::Send, {U+2014}
; Not Equal To symbol (U+2260): ≠ (Alt+8800) [Needs Unicode]
!=::Send, {U+2260}
; Plus Minus symbol {U+00B1}: ± (Alt+0177)
!+=::Send, {U+00B1}
$!+SC029::Send, {U+0060} ; Grave Accent diacritic (non-combining) {U+0060}: ` (Alt+96)
$!1::Send, {U+00A1} ; Inverted Exclamation Mark {U+00A1}: ¡ (Alt+0161)
$!+1::Send, {U+2044} ; Fraction Slash, solidus (U+2044): (Alt+8260) [Needs Unicode]
$!2::Send, {U+2122} ; Trade Mark Sign Emoji {U+2122}: (Alt+0153)
$!+2::Send, {U+20AC} ; Euro currency symbol {U+20AC}: € (Alt+0128)
$!3::Send, {U+00A3} ; British Pound currency symbol {U+00A3}: £ (Alt+0163)
$!+3::Send, {U+2039} ; Single Left-Pointing Angle Quotation mark {U+2039}: (Alt+0139)
$!4::Send, {U+00A2} ; Cent currency symbol {U+00A2}: ¢ (Alt+0162)
$!+4::Send, {U+203A} ; Single Right-Pointing Angle Quotation mark (U+203A): (Alt+0155)
$!5::Send, {U+221E} ; Infinity mathematical symbol {U+221E}: ∞ (Alt+236)
$!+5::Send, {U+FB01} ; fi latin small ligature: fi (U+FB01) (Alt+64257) [Needs Unicode]
$!6::Send, {U+00A7} ; Section symbol {U+00A7}: § (Alt+0167)
$!+6::Send, {U+FB02} ; fl small ligature: (U+FB02) (Alt+64258) [Needs Unicode.]
$!7::Send, {U+00B6} ; Paragraph mark (Pilcrow) symbol {U+00B6}: (Alt+0182)
$!+7::Send, {U+2021} ; Double dagger (cross) symbol {U+2021}: ‡ (Alt+0135)
$!8::Send, {U+2022} ; Bullet point symbol {U+2022}: (Alt+0149)
$!+8::Send, {U+00B0} ; Degree symbol {U+00B0}: ° (Alt+0176)
$!9::Send, {U+00AA} ; Feminine Ordinal Indicator symbol {U+00AA}: ª (Alt+0170)
$!+9::Send, {U+00B7} ; Middle Dot (interpunct/middot) symbol {U+00B7}: · (Alt+0183)
$!0::Send, {U+00BA} ; Masculine Ordinal Indicator symbol {U+00BA}: º (Alt+0186)
$!+0::Send, {U+201A} ; Single low-9 quotation mark {U+201A}: (Alt+0130)
$!-::Send, {U+2013} ; En Dash symbol {U+2013}: (Alt+0150)
$!+-::Send, {U+2014} ; Em Dash symbol {U+2014}: — (Alt+0151)
$!=::Send, {U+2260} ; Not Equal To symbol (U+2260): (Alt+8800) [Needs Unicode]
$!+=::Send, {U+00B1} ; Plus Minus symbol {U+00B1}: ± (Alt+0177)
; ###### LETTER AND PUNCTUATION KEYS ###### [ in QWERTY order ]
; ##############
; ### 1st row: Tab-key row [ qwertyuiop[]\ ] [ QWERTYUIOP{}| ]
; Small oe (oethel) ligature {U+0153}: œ (Alt+0156)
!q::Send, {U+0153}
; Capital OE (Oethel) ligature {U+0152}: Œ (Alt+0140)
!+q::Send, {U+0152}
; N-Ary Summation (sigma) notation (U+2211}: ∑ [Needs Unicode]
$!w::Send, {U+2211}
; Double Low-9 Quotation mark {U+201E}: „ (Alt+0132)
$!+w::Send, {U+201E}
$!q::Send, {U+0153} ; Small oe (oethel) ligature {U+0153}: œ (Alt+0156)
$!+q::Send, {U+0152} ; Capital OE (Oethel) ligature {U+0152}: Œ (Alt+0140)
$!w::Send, {U+2211} ; N-Ary Summation (sigma) notation (U+2211}: ∑ [Needs Unicode]
$!+w::Send, {U+201E} ; Double Low-9 Quotation mark {U+201E}: „ (Alt+0132)
; Dead_Keys_Accent_Acute
; Acute accent: Option+e, then key to accent
@@ -1029,23 +984,13 @@ toggle_optspecialchars:
}
Return
; Acute accent diacritic (non-combining) {U+00B4}: ´ (Alt+0180)
!+e::Send, {U+00B4}
; Registered Trade Mark Sign {U+00AE}: ® (Alt+0174)
$!r::Send, {U+00AE}
; Per mille symbol {U+2030}: (Alt+0137)
$!+r::Send, {U+2030}
; Simple dagger (cross) symbol {U+2020}: † (Alt+0134)
!t::Send, {U+2020}
; Caron/hacek diacritic (non-combining) (U+02C7): ˇ (Alt+0134)
!+t::Send, {U+02C7}
; Yen currency symbol {U+00A5}: ¥ (Alt+0165)
!y::Send, {U+00A5}
; Latin Capital Letter a with Acute (U+00C1): Á (Alt+0193)
!+y::Send, {U+00C1}
$!+e::Send, {U+00B4} ; Acute accent diacritic (non-combining) {U+00B4}: ´ (Alt+0180)
$!r::Send, {U+00AE} ; Registered Trade Mark Sign {U+00AE}: ® (Alt+0174)
$!+r::Send, {U+2030} ; Per mille symbol {U+2030}: ‰ (Alt+0137)
$!t::Send, {U+2020} ; Simple dagger (cross) symbol {U+2020}: (Alt+0134)
$!+t::Send, {U+02C7} ; Caron/hacek diacritic (non-combining) (U+02C7): ˇ (Alt+0134)
$!y::Send, {U+00A5} ; Yen currency symbol {U+00A5}: ¥ (Alt+0165)
$!+y::Send, {U+00C1} ; Latin Capital Letter a with Acute (U+00C1): Á (Alt+0193)
; Dead_Keys_Accent_Umlaut
; Umlaut/Diaeresis accent: Option+u, then key to accent
@@ -1073,8 +1018,7 @@ toggle_optspecialchars:
}
Return
; Umlaut/Diaeresis diacritic (non-combining) {U+00A8}: (Alt+0168)
!+u::Send, {U+00A8}
$!+u::Send, {U+00A8} ; Umlaut/Diaeresis diacritic (non-combining) {U+00A8}: (Alt+0168)
; Dead_Keys_Accent_Circumflex
; Circumflex accent: Option+i, then key to accent
@@ -1100,83 +1044,44 @@ toggle_optspecialchars:
}
Return
; Modifier Letter Circumflex Accent (U+02C6): ˆ (Alt+0137)
!+i::Send, {U+02C6}
; Latin Small Letter o with Stroke {U+00F8}: ø (Alt+0248)
!o::Send, {U+00F8}
; Latin Capital Letter O with Stroke {U+00D8}: Ø (Alt+0216)
!+o::Send, {U+00D8}
; Greek Small Letter Pi {U+03C0}: π (Alt+227)
$!p::Send, {U+03C0}
; N-Ary Product mathematical symbol (U+220F): (No Alt Code) [Needs Unicode]
$!+p::Send, {U+220F}
; Left Double Quotation Mark {U+201C}: “ (Alt+0147)
$![::Send, {U+201C}
; Right Double Quotation Mark {U+201D}: ” (Alt+8)
$!+[::Send, {U+201D}
; Left Single Quotation Mark {U+2018}: (Alt+0145)
$!]::Send, {U+2018}
; Right Single Quotation Mark {U+2019}: (Alt+0146)
$+!]::Send, {U+2019}
; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK {U+00AB}: « (Alt+0171)
$!\::Send, {U+00AB}
; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK {U+00BB}: » (Alt+0187)
$!+\::Send, {U+00BB}
$!+i::Send, {U+02C6} ; Modifier Letter Circumflex Accent (U+02C6): ˆ (Alt+0137)
$!o::Send, {U+00F8} ; Latin Small Letter o with Stroke {U+00F8}: ø (Alt+0248)
$!+o::Send, {U+00D8} ; Latin Capital Letter O with Stroke {U+00D8}: Ø (Alt+0216)
$!p::Send, {U+03C0} ; Greek Small Letter Pi {U+03C0}: π (Alt+227)
$!+p::Send, {U+220F} ; N-Ary Product mathematical symbol (U+220F): ∏ [Needs Unicode]
$![::Send, {U+201C} ; Left Double Quotation Mark {U+201C}: (Alt+0147)
$!+[::Send, {U+201D} ; Right Double Quotation Mark {U+201D}: ” (Alt+8)
$!]::Send, {U+2018} ; Left Single Quotation Mark {U+2018}: (Alt+0145)
$+!]::Send, {U+2019} ; Right Single Quotation Mark {U+2019}: (Alt+0146)
$!\::Send, {U+00AB} ; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK {U+00AB}: « (Alt+0171)
$!+\::Send, {U+00BB} ; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK {U+00BB}: » (Alt+0187)
; ##############
; ### 2nd row: Caps Lock row [ asdfghjkl;' ] [ ASDFGHJKL:" ]
; Overring accented "a/A" used by Nordic, Greenlandic, Germanic languages
;
; Small Letter a with Ring Above {U+00E5}: å (Alt+0229)
$!a::Send, {U+00E5}
; Capital Letter A with Ring Above {U+00C5}: Å (Alt+0197)
$!+a::Send, {U+00C5}
; German Eszett/beta (Sharfes/Sharp S) {U+00DF}: ß (Alt+0223)
$!s::Send, {U+00DF}
; Latin Capital Letter I with Acute {U+00CD}: Í (Alt+0205)
$!+s::Send, {U+00CD}
; Partial Differential mathematical symbol {U+2202}: ∂ (Alt+2202) [Needs Unicode]
$!d::Send, {U+2202}
; Latin Capital Letter I with Circumflex {U+00CE}: Î (Alt+0206)
$!+d::Send, {U+00CE}
; Function/florin currency symbol {U+0192}: ƒ (Alt+159)
$!f::Send, {U+0192}
; Latin Capital Letter I with Diaeresis {U+00CF}: Ï (Alt+0207)
$!+f::Send, {U+00CF}
$!a::Send, {U+00E5} ; Small Letter a with Ring Above {U+00E5}: å (Alt+0229)
$!+a::Send, {U+00C5} ; Capital Letter A with Ring Above {U+00C5}: Å (Alt+0197)
$!s::Send, {U+00DF} ; German Eszett/beta (Sharfes/Sharp S) {U+00DF}: ß (Alt+0223)
$!+s::Send, {U+00CD} ; Latin Capital Letter I with Acute {U+00CD}: Í (Alt+0205)
$!d::Send, {U+2202} ; Partial Differential mathematical symbol {U+2202}: ∂ (Alt+2202) [Needs Unicode]
$!+d::Send, {U+00CE} ; Latin Capital Letter I with Circumflex {U+00CE}: Î (Alt+0206)
$!f::Send, {U+0192} ; Function/florin currency symbol {U+0192}: ƒ (Alt+159)
$!+f::Send, {U+00CF} ; Latin Capital Letter I with Diaeresis {U+00CF}: Ï (Alt+0207)
; #######################################################################
; ## Problem: Option+g (Win+g) brings up Windows XBox Game Bar!
; ## To remove/disable paste this text in PowerShell (without quotes):
; ## "Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage"
; #######################################################################
; Copyright Sign {U+00A9}: © (Alt+0169)
!g::Send, {U+00A9}
; Double Acute Accent diacritic (non-combining) {U+02DD}: ˝ [Needs Unicode]
!+g::Send, {U+02DD}
$!g::Send, {U+00A9} ; Copyright Sign {U+00A9}: © (Alt+0169)
$!+g::Send, {U+02DD} ; Double Acute Accent diacritic (non-combining) {U+02DD}: ˝ [Needs Unicode]
$!h::Send, {U+02D9} ; Dot Above diacritic (non-combining) {U+02D9}: ˙ [Needs Unicode]
$!+h::Send, {U+00D3} ; Latin Capital Letter O with Acute {U+00D3}: Ó (Alt+0211)
$!j::Send, {U+2206} ; Increment, laplace operator symbol {U+2206}: ∆ [Needs Unicode]
$!+j::Send, {U+00D4} ; Latin Capital Letter O with Circumflex {U+00D4}: Ô (Alt+0212)
$!k::Send, {U+02DA} ; Ring Above diacritic (non-combining) {U+02DA}: ˚ [Needs Unicode] (NOT degree sign/symbol)
; Dot Above diacritic (non-combining) {U+02D9}: ˙ [Needs Unicode]
$!h::Send, {U+02D9}
; Latin Capital Letter O with Acute {U+00D3}: Ó (Alt+0211)
$!+h::Send, {U+00D3}
; Increment, laplace operator symbol {U+2206}: ∆ [Needs Unicode]
$!j::Send, {U+2206}
; Latin Capital Letter O with Circumflex {U+00D4}: Ô (Alt+0212)
$!+j::Send, {U+00D4}
; Ring Above diacritic (non-combining) {U+02DA}: ˚ [Needs Unicode] (NOT degree sign/symbol)
$!k::Send, {U+02DA}
; Apple logo {U+F8FF}:  [Unicode Private Use Area, req's Baskerville Old Face font]
; $!+k::Send, {U+F8FF} ; This Unicode address only works with Mac fonts
$!+k::
@@ -1199,53 +1104,31 @@ toggle_optspecialchars:
; ## Option+L works, but will also trigger the Win+L screen locking.
; ## The screen locking shortcut can only be disabled in the registry.
; #######################################################################
; Not Sign angled dash symbol {U+00AC}: ¬ (Alt+170) [Triggers Win+L screen locking!]
$!l::Send, {U+00AC}
; Latin Capital Letter O with Grave {U+00D2}: Ò (Alt+0210)
$!+l::Send, {U+00D2}
; Horizontal elipsis {U+2026}: … (Alt+0133)
$!;::Send, {U+2026}
; Latin Capital Letter U with Acute {U+00DA}: Ú (Alt+0218)
$!+;::Send, {U+00DA}
$!l::Send, {U+00AC} ; Not Sign angled dash symbol {U+00AC}: ¬ (Alt+170)
$!+l::Send, {U+00D2} ; Latin Capital Letter O with Grave {U+00D2}: Ò (Alt+0210)
$!;::Send, {U+2026} ; Horizontal elipsis {U+2026}: (Alt+0133)
$!+;::Send, {U+00DA} ; Latin Capital Letter U with Acute {U+00DA}: Ú (Alt+0218)
; #######################################################################
; ## SC028 is single-quote key scan code
; #######################################################################
; Small ae ligature {U+00E6}: æ (Alt+0230)
!SC028::Send, {U+00E6}
; Capital AE ligature {U+00C6}: Æ (Alt+0198)
!+SC028::Send, {U+00C6}
$!SC028::Send, {U+00E6} ; Small ae ligature {U+00E6}: æ (Alt+0230)
$!+SC028::Send, {U+00C6} ; Capital AE ligature {U+00C6}: Æ (Alt+0198)
; ##############
; ### 3rd row: Shift-Keys row [ zxcvbnm,./ ] [ ZXCVBNM<>? ]
; Greek Capital Letter Omega symbol {U+03A9} Ω (Alt+234)
$!z::Send, {U+03A9}
; Spacing Cedilla diacritic symbol (non-combining) {U+00B8}: ¸ (Alt+0184)
$!+z::Send, {U+00B8}
; Almost Equal To symbol (U+2248): (Alt+247)
$!x::Send, {U+2248}
; Ogonek diacritic (non-combining) (U+02DB): ˛ (No Alt Code)
$!+x::Send, {U+02DB}
; Small Letter c with Cedilla {U+00E7}: ç (Alt+0231)
$!c::Send, {U+00E7}
; Capital Letter C with Cedilla {U+00C7}: Ç (Alt+0199)
$!+c::Send, {U+00C7}
; Square Root radical sign (U+221A): √ (Alt+251)
!v::Send, {U+221A}
; Lozenge (diamond) shape symbol (U+25CA): ◊ (No Alt Code) [Needs Unicode]
!+v::Send, {U+25CA}
; Integral mathematical symbol (U+222B): ∫ (No Alt Code) [Needs Unicode]
$!b::Send, {U+222B}
; Latin Small Letter Dotless i (U+0131): ı (No Alt Code) [Needs Unicode]
$!+b::Send, {U+0131}
$!z::Send, {U+03A9} ; Greek Capital Letter Omega symbol {U+03A9} Ω (Alt+234)
$!+z::Send, {U+00B8} ; Spacing Cedilla diacritic symbol (non-combining) {U+00B8}: ¸ (Alt+0184)
$!x::Send, {U+2248} ; Almost Equal To symbol (U+2248): ≈ (Alt+247)
$!+x::Send, {U+02DB} ; Ogonek diacritic (non-combining) (U+02DB): ˛ [Needs Unicode]
$!c::Send, {U+00E7} ; Small Letter c with Cedilla {U+00E7}: ç (Alt+0231)
$!+c::Send, {U+00C7} ; Capital Letter C with Cedilla {U+00C7}: Ç (Alt+0199)
$!v::Send, {U+221A} ; Square Root radical sign (U+221A): (Alt+251)
$!+v::Send, {U+25CA} ; Lozenge (diamond) shape symbol (U+25CA): ◊ [Needs Unicode]
$!b::Send, {U+222B} ; Integral mathematical symbol (U+222B): ∫ [Needs Unicode]
$!+b::Send, {U+0131} ; Latin Small Letter Dotless i (U+0131): ı [Needs Unicode]
; Dead_Keys_Accent_Tilde
; Tilde accent: Option+n, then key to accent
@@ -1267,27 +1150,14 @@ toggle_optspecialchars:
}
Return
; Small Tilde character (U+02DC): ˜ (Alt+0152)
!+n::Send, {U+02DC}
; Micro (mu) symbol {U+00B5}: µ (Alt+0181)
$!m::Send, {U+00B5}
; Latin Capital Letter a with Circumflex (U+00C2): Â (Alt+0194)
$!+m::Send, {U+00C2}
; Less than or equal to symbol {U+2264}: (Alt+243)
$!,::Send, {U+2264}
; Macron/overline/apl overbar (non-combining) (U+00AF): ¯ (Alt+0175)
$!+,::Send, {U+00AF}
; Greater than or equal to symbol {U+2265}: ≥ (Alt+242)
$!.::Send, {U+2265}
; Breve diacritic (non-combining) {U+02D8}: ˘ (No Alt Code) [Needs Unicode]
$!+.::Send, {U+02D8}
; Obelus/Division symbol {U+00F7}: ÷ (Alt+0247)
$!/::Send, {U+00F7}
; Inverted Question Mark {U+00BF}: ¿ (Alt+0191)
$!+/::Send, {U+00BF}
$!+n::Send, {U+02DC} ; Small Tilde character (U+02DC): ˜ (Alt+0152)
$!m::Send, {U+00B5} ; Micro (mu) symbol {U+00B5}: µ (Alt+0181)
$!+m::Send, {U+00C2} ; Latin Capital Letter a with Circumflex (U+00C2): Â (Alt+0194)
$!,::Send, {U+2264} ; Less than or equal to symbol {U+2264}: (Alt+243)
$!+,::Send, {U+00AF} ; Macron/overline/apl overbar (non-combining) (U+00AF): ¯ (Alt+0175)
$!.::Send, {U+2265} ; Greater than or equal to symbol {U+2265}: (Alt+242)
$!+.::Send, {U+02D8} ; Breve diacritic (non-combining) {U+02D8}: ˘ [Needs Unicode]
$!/::Send, {U+00F7} ; Obelus/Division symbol {U+00F7}: ÷ (Alt+0247)
$!+/::Send, {U+00BF} ; Inverted Question Mark {U+00BF}: ¿ (Alt+0191)
#If ; ### END of special character insertion with Option(Alt) key