-
Hi. I have the following binding:
However, if I use the Rename refactoring and for ex. delete a character in normal mode, then pressing Enter runs the action before the Rename finishes, which discards all the changes I made while renaming. Is there a way to ensure the mapping does not run while renaming an element? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
Hi, that's an interesting case. Actually, I think it's possible using the vim script, so you could create some function like
However, at the moment this is not possible to verify if the renaming is in progress. We'll discuss the possibility of adding such function. |
Beta Was this translation helpful? Give feedback.
Hi there! We now have a bit of an unstable state around enters and escapes. We migrated to a different way of handling them, but it slowly turned out that the previous one seemed to be the correct one. So, I'd like to stabilize things before doing further changes around key processing.
BTW, with the latest version of IdeaVim, your described case works for me without any fixes. However, as there is a chance that we'll get back to the previous solution, this problem may arise again.
I've created a ticket and I'll add it to the scope of the enter key questions. So, we'll create a UI test for it, and I'll check if works with the different implementations of key processing. If the issue exists…