Skip to content

Instantly share code, notes, and snippets.

@chunfeilung
Created June 3, 2020 09:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chunfeilung/0cb42f1b027365b00b6c91091366120c to your computer and use it in GitHub Desktop.
Save chunfeilung/0cb42f1b027365b00b6c91091366120c to your computer and use it in GitHub Desktop.
AutoHotkey script that remaps Caps Lock to mouse clicks and adds macOS-style key bindings for curly quotes
#NoEnv
SendMode Input
; Caps Lock -> Left mouse button click
CapsLock::
Click
return
; Alt + [ -> Opening single quote
![::
Send, ‘
return
; Alt + ] -> Closing single quote
!]::
Send, ’
return
; Alt + Shift + [ -> Opening double quote
!+[::
Send, “
return
; Alt + Shift + ] -> Closing double quote
!+]::
Send, ”
return
@3-aln
Copy link

3-aln commented Jun 26, 2021

I recently found out about the simple shortcuts used to type curly quotes on MacOS and was looking for something exactly like this for Windows. Thanks so much for sharing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment