Skip to content

EasyMotion: Vim(call): E475 Invalid argument -1 #452

Open
timsu92/vim-easymotion
#2
@rickalex21

Description

@rickalex21

Hello, thanks for creating this wonderful plugin. I'm not sure I can reproduce this problem since it happens at random times but this is the message that I get sometimes.

EasyMotion: Vim(call): E475 Invalid argument -1 : function EasyMotion#WB[4]..<SNR>107_EasyMotion, line 109. 

The mapping that I was using is sj <Plug>(easymotion-w).

Activity

YPCrumble

YPCrumble commented on Feb 12, 2021

@YPCrumble

I'm encountering the same issue. In my case the error appears related to a conflict with SimpylFold.

The error only happens if my code is folded - if I expand all folds it works fine.

Also - the error only occurs when searching forwards in folded code - searching backwards still works.

ossie-git

ossie-git commented on Aug 4, 2021

@ossie-git

I'm running into this issue as well. As soon as I unfold all my folds, it works. One thing I did notice is that although searching backwards works, it does not search through folded sections or even folded headings

lyndhurst

lyndhurst commented on Mar 12, 2022

@lyndhurst

I have the same problem with vim. I noticed that different filetypes have different set of characters affected. For example with markdown files, only "a,e,r,l,u" trigger the error while other characters work fine, with pandoc almost all characters fail, in vimrc only a couple, and so on..

It is confirmed on my side that unfolding with 'zn' fixes the issue until folding some text again. Removing the SimplyFold plugin has no effect though.

Has anyone found a fix?

zhenchuanzhiaa

zhenchuanzhiaa commented on May 12, 2022

@zhenchuanzhiaa

I also meet this problem

timsu92

timsu92 commented on Aug 29, 2022

@timsu92

Is #484 fixing your problem? I used that and it's working well!

ossie-git

ossie-git commented on Aug 29, 2022

@ossie-git

@timsu92 Gave it a quick shot and it looks like it works. Thanks

added 2 commits that reference this issue on Aug 29, 2022
046ea2f
886dd7f
linked a pull request that will close this issue on Aug 29, 2022
YPCrumble

YPCrumble commented on Sep 1, 2023

@YPCrumble

This issue appears to be back with a slightly different error stack as referenced here: #484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @YPCrumble@ossie-git@lyndhurst@timsu92@zhenchuanzhiaa

      Issue actions

        EasyMotion: Vim(call): E475 Invalid argument -1 · Issue #452 · easymotion/vim-easymotion