windowsvisual-studiovsvim

Microsoft PowerToys key mapping not working in Visual Studio


I am using Visual Studio 2019 with VsVim extension to get Vim functionality. I recently found and tried Microsoft PowerToys to remap my escape key with my caps lock key. This works fine with everything beside Visual Studio. When Visual Studio has focus these mappings don't work, but as soon as I click off Visual Studio, the mapping start working again. Is there any reason these mappings through PowerToys would not work in Visual Studio, but work fine elsewhere? PowerToys Key Mappings


Solution

  • For me it was because Visual Studio was running as admin and PowerToys was not. Just run both as administrator – that should fix it.