macOS Keyboard Binding on Windows With AuthoHotKey
This file contains 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. | |
; CMD+Backspace -> delete to start of line | |
#BS::Send {LShift down}{Home}{LShift Up}{Del} | |
; Alt+Backspace -> delete to start of word | |
!BS::Send {LShift down}{LCtrl down}{Left}{LShift Up}{Lctrl up}{Del} | |
; Alt+Del -> delete to end of word | |
!Delete::Send {LShift down}{LCtrl down}{Right}{LShift Up}{Lctrl up}{Del} | |
#Up::Send {Lctrl down}{Home}{Lctrl up} | |
#Down::Send {Lctrl down}{End}{Lctrl up} | |
#Left::Send {Home} | |
#Right::Send {End} | |
!Up::Send {Home} | |
!Down::Send {End} | |
!Left::^Left | |
!Right::^Right | |
CapsLock::LWin | |
<#Tab::AltTab | |
; <#Tab::ShiftAltTab | |
#w::Send {CtrlDown}{w}{CtrlUp} | |
#q::Send {AltDown}{F4}{AltUp} | |
#a::Send ^a | |
#b::Send ^b | |
#c::Send ^c | |
#d::Send ^d | |
#e::Send ^e | |
#f::Send ^f | |
#g::Send ^g | |
#h::Send ^h | |
#i::Send ^i | |
#j::Send ^j | |
#k::Send ^k | |
#l::Send ^l | |
#m::Send ^m | |
#n::Send ^n | |
#o::Send ^o | |
#p::Send ^p | |
#r::Send ^r | |
#s::Send ^s | |
#t::Send ^t | |
#u::Send ^u | |
#v::Send ^v | |
#x::Send ^x | |
#y::Send ^y | |
#z::Send ^z | |
#/::Send ^/ | |
#'::Send ^' | |
#[::Send ^[ | |
#]::Send ^] | |
; win plus/minus for zoom | |
#=::Send {CtrlDown}{+}{CtrlDown} | |
#-::Send ^- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you mean
#=::Send {CtrlDown}{+}{CtrlUp}