Skip to content

Ataman key combo gets processed by both Ataman and IDE/IdeaVim #31

@vasko-97

Description

@vasko-97

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:
Image
Then quick hit of Space, s results in:
Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions