Fix renaming sometimes not working in vim mode
Disable vim key contexts during renaming, to fix renaming being interfered with vim commands.
Release Notes:
this might not fix this problem. when you active rename, then waiting (might some milliseconds), then typing any key which has binding action in vim mode, will see unexpected behaviour.
@CharlesChen0823 Yes, I see that problem. For example during renaming, pressing i got that i omitted from the new variable name.
@Congyuwang yes, you are right.
Upon renaming, disable vim key contexts, this should fix the problem.
@Congyuwang Thank you for this! While reviewing I noticed we had the same bug in inline assist, so I made the solution a little more general to handle both.
Will merge when green.
#14292 is still present.