Open nilsboy opened 8 years ago
For people who encountered the same problem, try autocmd:
function s:smartword_mappings() abort
map <Plug>(smartword-basic-w) <Plug>CamelCaseMotion_w
map <Plug>(smartword-basic-b) <Plug>CamelCaseMotion_b
map <Plug>(smartword-basic-e) <Plug>CamelCaseMotion_e
endfunction
augroup SmartWordCustom
autocmd!
autocmd VimEnter * call <SID>smartword_mappings()
augroup END
I can't get vim-smartword to work in conjunction with CamelCaseMotion. With the vimrc below smartword is working but without CamelCaseMotion.
What am I missing? Thanx for your Help.
This is a runnable test case vimrc: