if you want to remap your keyboard in your mac
you can use this software
?
it's very easy and convenient
i just remap capslock to esc for vim
if you want to remap your keyborad in your windows
you can use remap for windows or bat with some lines as :
?
in windows you can create a *.reg file with lines as follows:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,03,00,00,00,3a,00,01,00,01,00,3a,00,00,00,00,00
?
本文摘自 :https://www.cnblogs.com/