Mac-style Text Navigation
Ctrl+Arrows jump to line start/end and Alt+Arrows jump by word, like Cmd/Option on macOS
Author: Caio Lemos
Makes the modifier keys behave like on macOS when moving the text cursor:
Ctrl acts like Cmd and Alt acts like Option.
| Shortcut |
Does the same as (Windows) |
macOS equivalent |
| Ctrl + ← |
Home (start of line) |
Cmd + ← |
| Ctrl + → |
End (end of line) |
Cmd + → |
| Alt + ← |
Ctrl + ← (previous word) |
Option + ← |
| Alt + → |
Ctrl + → (next word) |
Option + → |
Holding Shift as well extends the selection, as expected.
Notes
- The mod runs in a dedicated background
windhawk.exe process and uses a
global low-level keyboard hook, so it works in every application.
- The remapping applies everywhere, not only in text fields. For example,
Alt+Left/Right no longer go Back/Forward in browsers, File Explorer and
Settings, and Ctrl+Left/Right lose app-specific meanings (such as jumping to
the edge of a data region in Excel). Use the "Excluded programs" setting for
apps where you want the original behavior.
- Windows running as administrator are not affected unless Windhawk itself
runs elevated (a Windows security restriction).
- Ctrl+Alt combinations (including AltGr) and combinations with the Win key
are left untouched.
- Modifiers produced by remapping tools that inject input (e.g. PowerToys
Keyboard Manager, AutoHotkey) are not recognized. Remaps done through the
scancode map (e.g. SharpKeys) work.