easymotion / vim-easymotion

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

"Invalid target" when starting an overwin motion #319

Closed pieterdd closed 7 years ago

pieterdd commented 7 years ago

I have a curious issue. Although <Leader><Leader>w and <Leader><Leader>b work normally, the overwin motion seems to cancel itself due to an error after about a second. Here's my mapping:

nmap <Leader>w <Plug>(easymotion-overwin-w)

Screengrab of me trying to use it: https://drive.google.com/file/d/0B63ZZInuyc8nNjhBbUp5dlA5LTg/view Any idea what could be causing the issue? A plugin/setting incompatibility, perhaps?

Oddly enough, the feature works normally when there's only one buffer open.

pieterdd commented 7 years ago

Nevermind, found my issue. Turns out that vim doesn't like it if you put a comment at the end of an nmap line :)