Shougo / neocomplcache.vim

Ultimate auto-completion system for Vim.
http://www.vim.org/scripts/script.php?script_id=2620
1.72k stars 135 forks source link

why cannot i select from dropdown menu using arrow keys #451

Closed justrajdeep closed 11 years ago

justrajdeep commented 11 years ago

i added some option like

inoremap <expr><Down>  pumvisible() ? "\<C-n>" : "\<Down>"
inoremap <expr><Up>  pumvisible() ? "\<C-p>" : "\<Up>"

in my vimrc but i am not able to get the C-n and C-p like behavior using arrows. any suggestions as what might be the problem?

Shougo commented 11 years ago

This is Vim internal feature(it is not neocomplcache problem). <Up>/<Down> key mappings is hard coded in Vim internal source. So, you cannot custom it.