Skip to content

Instantly share code, notes, and snippets.

@wodim
Last active October 3, 2021 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wodim/b0cfbbafa529eace2560 to your computer and use it in GitHub Desktop.
Save wodim/b0cfbbafa529eace2560 to your computer and use it in GitHub Desktop.
My AutoHotkey script
; disable alt+f4
!F4::return
; disable alt+esc
!Escape::return
; allows to close windows using alt+pgdown
!PgDn::WinKill, A
; a few bindings: altgr+key to add some characters
; that are not part of the spanish keyboard layout
<^>!z::Send «
<^>!x::Send »
<^>!.::Send …
<^>!-::Send —
<^>!s::Send ß
<^>!+s::Send ẞ
; disable the ç key to avoid the accidental hacking of websites
ç::
; disable win+space to switch between languages
#Space::return
; switch the caps lock and escape keys
CapsLock::Esc
Esc::CapsLock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment