Created
December 19, 2025 10:36
-
-
Save remorses/13a8b11b4e3da3a88a721f5149de8b6f to your computer and use it in GitHub Desktop.
window navigation like mac autohotkey
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
| #Requires AutoHotkey v2.0 | |
| ; Toggle all mappings on/off | |
| ^!#p::Suspend ; Ctrl+Alt+Win+P toggles | |
| LAlt::RCtrl ; enable only if you do NOT need AltGr (often used for € and special chars) | |
| #Left::Send "{Home}" ; Win+Left = start of line | |
| #Right::Send "{End}" ; Win+Right = end of line | |
| #+Left::Send "+{Home}" | |
| #+Right::Send "+{End}" | |
| ; Alt+Left/Right -> move by word (Ctrl+Left/Right) | |
| !Left::Send "^{Left}" | |
| !Right::Send "^{Right}" | |
| ; Optional: move selection by word | |
| +!Left::Send "+^{Left}" ; Shift+Alt+Left | |
| +!Right::Send "+^{Right}" ; Shift+Alt+Right | |
| ; Word delete | |
| !Backspace::Send "^{Backspace}" ; Alt+Backspace = delete previous word | |
| !Delete::Send "^{Delete}" ; Alt+Delete = delete next word | |
| #Delete::Send "{Home}+{End}+{Right}{Del}" ; Win+Delete = delete line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment