-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hi,
I'm trying out Ataman with IdeaVim, with the leader config in .ideavimrc as suggested in the README with Space as the leader key. I've used the creator's .atamanrc.config file to start with.
I'm encountering an issue where if I hit Space, s very quickly, the s will trigger the Ataman menu as intended, but it will also get processed as the Vim substitute character command as shown below. Note the "3" under the cursor disappears because the Vim substitute character command has been triggered.
Start with:

Then quick hit of Space, s results in:

I first thought that this would be related to Ataman not activating quickly enough to stop IdeaVim from processing the keystroke. However, I noticed that this doesn't happen when I use a key combo that's not configured in Ataman. i.e. with the config as in the above screenshot, if I very quickly hit Space, x, it does not trigger Vim's delete character command. When I change .atamanrc.config, so that "x" is used instead of "s" for the search sub-menu, then Space, x triggers Vim behaviour, but Space, s does not.
I see there's a PR that might have addressed this issue by @alexgaribay, but as explained I'm not sure the issue is solely due to slow processing by Ataman.
Is anyone able to comment more on what's causing this behaviour or what it would take to fix it? Are there any workaround I could use in the short term?
Many thanks