IdeaVim-EasyMotion icon indicating copy to clipboard operation
IdeaVim-EasyMotion copied to clipboard

Instead of searching prints `symotion-s)`

Open ntrp opened this issue 1 year ago • 11 comments

For some reason instead of executing the command when I press f it simply executes literaly (esymotion-s) which ends up moving to the end of the word and printing symotion-s)

I enabled the plugin with set easymotion and added the binding from the example.

IJ version: 2022.1.3 Ultimate

All other plugins that do not require the <Plug> bindings work fine

ntrp avatar Jul 15 '22 10:07 ntrp

Hi, could you please attach your ~/.ideavimrc and log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)?

AlexPl292 avatar Jul 18 '22 06:07 AlexPl292

Hey,

it looks like I have a similar issue. I want to change the default bindings. My .ideavimrc is:

let mapleader=" "

set relativenumber
set number

set easymotion

" Move to word
"map  <Leader>hw <Plug>(easymotion-w)
nmap <Leader>hw <Plug>(easymotion-w)

When I use the key binding a new line is added containing: verwin-w)

I cannot attach logs since it's my work PC and they may contain sensitive data.

asleszyn avatar Aug 03 '22 12:08 asleszyn

You can also get this behavior if you haven't installed IdeaVim-EasyMotion plugin inside IDE.

Stock84-dev avatar Aug 18 '22 13:08 Stock84-dev

Hi @Stock84-dev,

I have the EasyMotion plugin installed and enabled.

asleszyn avatar Aug 22 '22 08:08 asleszyn

Hi, I've got the same issue IDEA 2022.2.1 (Community Edition)

map <leader>j <Plug>(easymotion-f) printing symotion-f)

AceJump & IdeaVim-EasyMotion plugins installed

DmgTrade avatar Aug 23 '22 11:08 DmgTrade

@DmgTrade could you please provide log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)?

AlexPl292 avatar Aug 25 '22 05:08 AlexPl292

@AlexPl292 just did a few things: cleared idea.log uncommented map <leader>j <Plug>(easymotion-f) and resterted IDEA

easymotion works perfectly now

idea_logs.zip

DmgTrade avatar Aug 25 '22 07:08 DmgTrade

The same here. Installed acejump, install easymotion. My config:

set easymotion                                "Enable easymotion
let g:EasyMotion_do_mapping = 0               "Disable easymotion default bindings
noremap s <Plug>(easymotion-f)

after pressing "s" the cursor jumps a few lines back and then prints "symotion-f)" there :(

UPD: Got it! Don't do "noremap" just "map" and everything works!

dvygolov avatar Oct 07 '22 14:10 dvygolov

FYI, the cause of this issue for me is that I misspelled set easymotion as set easymoton.

cychen2021 avatar Dec 26 '22 03:12 cychen2021

I am still stuck in this issue. Am I missing something? set easymotion map s <Plug>(easymotion-f)

My full ideaVimrc config here. Can somebody give me a hand?

magidc avatar Sep 29 '23 13:09 magidc

I am still stuck in this issue. Am I missing something? set easymotion map s <Plug>(easymotion-f)

My full ideaVimrc config here. Can somebody give me a hand?

I've solved this issue by changing nnoremap to nmap before. However I meet this issue again these days.

Oops, works in CLion but not in PyCharm. It seems that plugins in different IDEs haven't been synchronized timely. You just have to install AceJump and IdeaVim-EasyMotion plugins additionally.

pilgrimlyieu avatar Oct 03 '23 09:10 pilgrimlyieu