Skip to content

Instantly share code, notes, and snippets.

@v0lkan
Last active October 10, 2020 11:30
Show Gist options
  • Save v0lkan/6e0fc779ae414512759472905e1ab745 to your computer and use it in GitHub Desktop.
Save v0lkan/6e0fc779ae414512759472905e1ab745 to your computer and use it in GitHub Desktop.
My AutoHotKey Setup to use typographical quotes and dashes on windows.
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; map CMD to CTRL because I am on a Windows VM.
LWin::LCtrl
+![::
{
SendInput {”}
}
return
+!]::
{
SendInput {’}
}
return
![::
{
SendInput {“}
}
return
!]::
{
SendInput {‘}
}
return
!-::
{
SendInput {–}
}
return
!+-::
{
SendInput {—}
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment