Created
January 27, 2022 08:26
-
-
Save LiamPerson/c0968caa9f16b4f9d3b9f301c6e3fdb4 to your computer and use it in GitHub Desktop.
AutoHotkey script that turns spacebar into an _underscore_ key when you have Caps Lock on. Very useful when coding in CAPITALISED_SNAKE_CASE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Tested and working with AHK V1.1.33.10 | |
$Space:: | |
state := GetKeyState("CapsLock", "T") | |
if state | |
Send _ | |
else | |
Send {Space} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment