easymotion / vim-easymotion

Vim motions on speed!
http://www.vim.org/scripts/script.php?script_id=3526
7.44k stars 357 forks source link

Doesn't work in terminal buffer #463

Open mikh3x4 opened 3 years ago

mikh3x4 commented 3 years ago

I would like to use easy-motion inside a terminal mode inside vim (not neovim)

Steps to reproduce: Start terminal mode using :term Get something to easymotion to eg. ls -la Enter normal mode using CTRL-\ CTRL-N Trigger easy motion

I get this error:

Cannot make a terminal with
running job modifiable: modifiable
Error detected while processing function EasyMotion#overwin#w[1]..EasyMotion#overwin#move[1]..<SNR>64_move[2]..20[1]..21[7]..24[20]..28[2]..34[26]..<SNR>64_throw:
line    1:
E605: Exception not caught: vital: HitAHint.Motion: function EasyMotion#overwin#w[1]..EasyMotion#overwin#move[1]..<SNR>64_move[2]..20[1]..21[7]..24[20]..28[2]..34, line 15 V
im(for):E716: Key not present in Dictionary: 1

I'm using vim version version 8.1.2269 It works as expected on a neovim v0.4.3

mikh3x4 commented 3 years ago

Looks like its duplicate of #378 :(