I've been using the default settings for easymotion for years with no problem, but I decided to do some enhancements to my config so I started with the section in the README, using just copy-n-paste. But something happens I cant explain, everything works fine, except these new mappings, until I :so % , and then everything works!
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)
I've been using the default settings for easymotion for years with no problem, but I decided to do some enhancements to my config so I started with the section in the README, using just copy-n-paste. But something happens I cant explain, everything works fine, except these new mappings, until I :so % , and then everything works!