Skip to content

Instantly share code, notes, and snippets.

@mahmoudhossam
Last active September 4, 2017 10:04
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 mahmoudhossam/9f13a9a1253bfb308820af9271f43adf to your computer and use it in GitHub Desktop.
Save mahmoudhossam/9f13a9a1253bfb308820af9271f43adf to your computer and use it in GitHub Desktop.
AutoHotkey script to swap Escape and Caps Lock
#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.
#SingleInstance force
$Capslock::Esc
$Esc::Capslock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment