I have this mapping in my vimrc:imap <expr> <silent> <cr> neocomplete#mappings#close_popup() .\ <Plug>(neosnippet_jump_or_expand)and it's working great. When I press enter in a neocomplete popup it expands neosnippet but the problem is that <cr> will now work only for that and will not do a return line in insert mode.
a problem with a mapping ( map enter and tab key)
vimscript;vimrc