[BUG]: Windows Vim Keys don't work #162

Closed
opened 2026-01-05 14:48:38 +01:00 by adam · 3 comments
Owner

Originally created by @ex4722 on GitHub (Nov 15, 2022).

Describe the bug
Apologies as this is not really a bug but more of is question about workarounds. I'm in love with this program already but one thing that been bothering me is how some of the Windows Keys can't all be mapped. Currently Windows+L causes the desktop to logout instead of being intercepted by auto keys. Tried to disable windows keys shortcuts and still had no luck. Are their any known workarounds for this issue?

Thank You

Operating System

OS Name:                   Microsoft Windows 11 Home
OS Version:                10.0.22621 N/A Build 22621
Originally created by @ex4722 on GitHub (Nov 15, 2022). **Describe the bug** Apologies as this is not really a bug but more of is question about workarounds. I'm in love with this program already but one thing that been bothering me is how some of the Windows Keys can't all be mapped. Currently Windows+L causes the desktop to logout instead of being intercepted by auto keys. Tried to disable windows keys shortcuts and still had no luck. Are their any known workarounds for this issue? Thank You **Operating System** ``` OS Name: Microsoft Windows 11 Home OS Version: 10.0.22621 N/A Build 22621 ```
adam added the bug label 2026-01-05 14:48:38 +01:00
adam closed this issue 2026-01-05 14:48:38 +01:00
Author
Owner

@LGUG2Z commented on GitHub (Nov 15, 2022):

I don't use the Win key for any shortcuts myself, but I think you may be able to have some luck with advanced remapping using kanata 🤞

@LGUG2Z commented on GitHub (Nov 15, 2022): I don't use the Win key for any shortcuts myself, but I think you may be able to have some luck with advanced remapping [using kanata](https://github.com/jtroo/kanata) 🤞
Author
Owner

@BlueDrink9 commented on GitHub (Nov 28, 2022):

This is impossible because it is a security feature (so malware couldn't remap it to show a passwork-stealing fake lockscreen).

Note that kanata has this issue too.

As mentioned there, you can disable the windows lock screen to get it working.

You might be able to do a low-level OS remap of either the L or windows keys, then use ahk to swap them back. That's kinda how I get around it (use a custom keyboard that has L and I keys swapped, then unswap them in ahk)

@BlueDrink9 commented on GitHub (Nov 28, 2022): This is impossible because it is a security feature (so malware couldn't remap it to show a passwork-stealing fake lockscreen). Note that [kanata has this issue too](github.com/jtroo/kanata/issues/192). As mentioned there, you can disable the windows lock screen to get it working. You *might* be able to do a low-level OS remap of either the L or windows keys, then use ahk to swap them back. That's kinda how I get around it (use a custom keyboard that has L and I keys swapped, then unswap them in ahk)
Author
Owner

@BlueDrink9 commented on GitHub (Nov 28, 2022):

This issue should be closed. Not something this project can fix

@BlueDrink9 commented on GitHub (Nov 28, 2022): This issue should be closed. Not something this project can fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#162