Skip to content

Instantly share code, notes, and snippets.

@levelsio
Last active November 12, 2019 10:08
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save levelsio/31960bae64aafe7c41be65892d6629bd to your computer and use it in GitHub Desktop.
Save levelsio/31960bae64aafe7c41be65892d6629bd to your computer and use it in GitHub Desktop.
Make Bootcamp Windows keys act like OSX
; Make Bootcamp Windows keys act like OSX
; by @levelsio
;
; 2017-11-02
;
; Licensed as GPL
;
; Use autohotkey.com to load this file on Windows
;
; This fixes Cmd+Tab to work like Alt+Tab, also keys like Cmd+C as Ctrl+C etc., Cmd+Q to Alt-F4
; and sets Cmd+Left to Home etc. Also does Spotlight style search with Cmd+Space to open Start Menu Search
;
; Still todo: make Cmd+Shift+Left and Cmd+Shift+Arrows work so that it select like on OSX, I couldn't get that to work (yet)
; and make Emoji shortcut Cmd+Shift+Space work with Windows+; key
;
LWin & Tab:: AltTab
LWin & Space::Send ^{Esc}
LWin & f::Send ^{f}
LWin & c::Send ^{c}
LWin & v::Send ^{v}
LWin & q::Send !{f4}
LWin & a::Send ^{a}
LWin & s::Send ^{s}
LWin & z::Send ^{z}
LWin & m::Send ^{m}1ony
LWin & w::Send ^{w}
LWin & n::Send ^{n}
LWin & p::Send ^{p}
LWin & t::Send ^{t}
LWin & Right::Send {End}
LWin & Left::Send {Home}
LWin & Up::Send {PgUp}
LWin & Down::Send {PgDn}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment