I'm pretty new to vim, and I'm starting to discover it, and seeing how important the ctrl key is. I've seen that many remap the caps lock key to ctrl and escape at the same which seems really useful, but the problem is I've already remapped caps lock as backspace a long time ago. So I was thinking if I could remap my caps lock to both backspace and ctrl. I don't need the escape key because I can use ctrl+[.
I'm not sure how this would work because I sometime long press caps lock (ie backspace) to delete many character, and seeing online the solution to remap ctrl and esc to caps lock would be use ctrl when the key is long pressed and escape when the key is released. In my case I'd need long press for ctrl and backspace when released, so I won't be able to delete many character with one press. I was thinking that I could put a one second timer when pressing caps lock, and if I don't get an input while pressing it, it will act as if I'm long pressing backspace, and if I release it before the one second it will also act as backspace. So ctrl would only be activated when pressing caps lock and pressing another key within the one second time.
I don't know if this is even achievable or no.
If possible I'd prefer if I could make this change only take place when I'm in vim (I'm also okay with it now being only in vim, but prefer it only in vim). I use WSL with Ubuntu if this makes any difference.