vim-easymotion icon indicating copy to clipboard operation
vim-easymotion copied to clipboard

Unknown function error for line motions

Open alexcocinda opened this issue 4 years ago • 0 comments

Hello, I'm using the sample config:

let g:EasyMotion_do_mapping = 0 " Disable default mappings

" Jump to anywhere you want with minimal keystrokes, with just one key binding.
" `s{char}{label}`
nmap s <Plug>(easymotion-overwin-f)
" or
" `s{char}{char}{label}`
" Need one more keystroke, but on average, it may be more comfortable.
nmap s <Plug>(easymotion-overwin-f2)

" Turn on case-insensitive feature
let g:EasyMotion_smartcase = 1

" JK motions: Line motions
map <Leader>j <Plug>(easymotion-j)
map <Leader>k <Plug>(easymotion-k)

An I'm getting the following error when trying to use line motions:

EasyMotion: Vim(call):E117: Unknown function: VSCodeSetTextDecorations : function EasyMotion#JK[5]..<SNR>186_EasyMotion[226]..<SNR>186_PromptUser, line 120

Should I add something to my config? Thank you!

alexcocinda avatar Mar 19 '21 22:03 alexcocinda