Skip to content

Instantly share code, notes, and snippets.

@chrisdhanaraj
Last active September 16, 2022 00:02
Show Gist options
  • Star 22 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save chrisdhanaraj/f6d1ff1e27e733bdd43257506688ccfc to your computer and use it in GitHub Desktop.
Save chrisdhanaraj/f6d1ff1e27e733bdd43257506688ccfc to your computer and use it in GitHub Desktop.
Autohotkey script to bring OSX keybinds to 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.
LCtrl & Tab:: AltTab
!Tab:: Send ^{Tab}
!+Tab:: Send ^+{Tab}
^Space:: Send ^{Esc}
^Left::
Send {Home}
Return
^Right::
Send {End}
Return
^+Left::
Send +{Home}
Return
^+Right::
Send +{End}
Return
^Up::
Send ^{Home}
Return
^Down::
Send ^{End}
Return
^+Up::
Send ^+{Home}
Return
^+Down::
Send ^+{End}
Return
@rbreaves
Copy link

rbreaves commented Jan 16, 2022

You might be interested in trying my Kinto.sh app. It'd save you the effort. Also I think a few of your co-workers have already started to use it recently 😅, if them starring it means they are using it. @jmcgarr @chriscareycode @mcoliver

Also I just happened to come across this gist due to a japanese user that had linked here from their blog. I am not japanese, nor can I read japanese, they had simply mentioned Kinto.sh and this gist in the same post and I always find it interesting to see other people's approach to this type of problem.

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