Celeb Glow
updates | March 01, 2026

Windows: swap underscore and dash key

My question is the same as keymap swap underscore and dash, but for Windows instead of Linux. How might I swap the dash - and underscore _ keys so that underscore is shift-less?

I tried using but it wouldn't let me use a chord, only single key press.

I also tried keyboard manager Remap Shortcut, but it wouldn't allow matching a chord with a single key, both source and target have to be chords. Update: it does allow swapping a chord with a single key, but not AND use the reverse at the same time.

Update2

This PT configuration only outputs dash:PT keyboard manager

can't select underscore

It may well be that either program actually can do this but I failed to find the right path. At any rate, I need help. Any suggestions?

Keyboard layout is US-ANSI.

3

1 Answer

You can use the freeAutoHotkey.

To swap _ and -you could use a AutoHotkey script such as:

$-::Send, _
$_::Send, -

After installing AutoHotKey, put the script in a .ahk file and double-click it to test. You may stop the script by right-click on the green H icon in the traybar and choosing Exit. To have it run on login, place it in the Startup group atC:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

Useful AutoHotkey documentation:

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy