Last active
December 19, 2019 11:50
-
-
Save daniepetrov/6d8fde986464de9116b36deda5823522 to your computer and use it in GitHub Desktop.
Autohotkey script for OSX like key bindings
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
#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. | |
SetCapsLockState, AlwaysOff | |
CapsLock & h::Send, {blind}{Left} | |
CapsLock & j::Send, {blind}{Down} | |
CapsLock & k::Send, {blind}{Up} | |
CapsLock & l::Send, {blind}{Right} | |
CapsLock & [::Send !{F8} | |
CapsLock & ]::Send !{F9} | |
RShift & CapsLock:: Capslock | |
Ctrl & Tab:: AltTab | |
!Tab:: Send ^{Tab} | |
!+Tab:: Send ^+{Tab} | |
Alt & Space::Send #{Space} | |
Ctrl & q::Send !{F4} | |
#IfWinActive ahk_class CabinetWClass | |
^Backspace::Send {Delete} | |
return | |
#IfWinActive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Также нужно запустить SharpKeys и там перебиндить Alt и Ctrl