Compare commits
No commits in common. "master" and "1.1" have entirely different histories.
4 changed files with 24 additions and 44 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 361 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 361 KiB |
|
|
@ -5,7 +5,7 @@ Collection of useful scripts for keyboard remappings and mouse operation without
|
|||
Set of key bindings meant for the ANSI US layout set to:
|
||||
|
||||
- Facilitate the usage of spanish tilde keys without depending on a dead key.
|
||||
- Add inverted exclamation and question marks, alongside en/em dashes and and double angle quotation marks.
|
||||
- Add inverted exclamation and question marks, alongside en and em dashes.
|
||||
- Remap modifier keys to accomodate a comfier usage.
|
||||
- Toggle `Caps Lock` with both Shift keys.
|
||||
|
||||
|
|
@ -15,7 +15,6 @@ Collection of useful scripts for keyboard remappings and mouse operation without
|
|||
- Press on any of the spanish vowel keys `(a, e, i, o, u)` to write their accented representation `(á, é, í, ó, ú)`.
|
||||
- Press `/` to write `¿`, `[` to write `¡`.
|
||||
- Press `- (hyphen)` to write `—`, or press `- (hyphen)` while holding `Shift` to write `–`.
|
||||
- Press `RET` to write `«`, or press `RET` while holding `Shift` to write `»`.
|
||||
- You can also write the Euro sign `€` pressing `p`, the umlaut u `ü` pressing `[` and the `ñ` with `n`.
|
||||
- Press both `Shift` keys to toggle `Caps Lock`.
|
||||
- `Caps Lock` key acts as another `Left Control`.
|
||||
|
|
|
|||
|
|
@ -33,165 +33,151 @@ return
|
|||
#if !hotkeyLock
|
||||
;;Adding tonic vowels with tilde, €, ü, ñ, ¿, ¡, – and — to non-ES keyboard
|
||||
<!a::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00E1", "U+00C1")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+a::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00C1", "U+00E1")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
<!e::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00E9", "U+00C9")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+e::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00C9", "U+00E9")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
<!i::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00ED", "U+00CD")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+i::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00CD", "U+00ED")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
<!o::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00F3", "U+00D3")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+o::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00D3", "U+00F3")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
<!u::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00FA", "U+00DA")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+u::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00DA", "U+00FA")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
<!n::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00F1", "U+00D1")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+n::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00D1", "U+00F1")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;U with umlaut ü
|
||||
<!sc01B::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00FC", "U+00DC")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+sc01B::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00DC", "U+00FC")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;Inverted question mark
|
||||
<!/::
|
||||
hotkeyLock := 1
|
||||
Send, {U+00BF}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+/::
|
||||
hotkeyLock := 1
|
||||
Send, {U+00BF}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;Euro sign
|
||||
<!p::
|
||||
hotkeyLock := 1
|
||||
Send, {U+20AC}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
<!+p::
|
||||
hotkeyLock := 1
|
||||
Send, {U+20AC}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;Inverted exclamation mark
|
||||
<!sc01A::
|
||||
hotkeyLock := 1
|
||||
Send, {U+00A1}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
<!+sc01A::
|
||||
hotkeyLock := 1
|
||||
Send, {U+00A1}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;En and em dash
|
||||
<!sc00C::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+2014", "U+2013")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+sc00C::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+2013", "U+2014")
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;Spanish double angle quotation mark
|
||||
<!sc01C::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00AB", "U+00BB")
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+sc01C::
|
||||
hotkeyLock := 1
|
||||
sendCheckCapsLock("U+00BB", "U+00AB")
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
|
@ -499,11 +485,6 @@ return
|
|||
Send, {U+007C}
|
||||
return
|
||||
|
||||
<!sc039::
|
||||
<!+sc039::
|
||||
Send, {U+0020}
|
||||
return
|
||||
|
||||
#if
|
||||
|
||||
;;Where :C?*:U"X:: contains the hotstring trigger, this cASE BEING TYPING U " X ALL together. autohotkey gives us some control over how to interpret the hotstring, IN This Case By Inserting C?* We Are Telling Ahk To Be Case Sensitie (C), to trigger even as part of a word (?) and to trigger without an ending character such as space or newline(*).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue