Shougo/neocomplcache — pull request #265 by zhaocai (2012-09-19 02:51:35+00:00)
Title: 2nd Fix: key mapping issue #252

I tried another way to fix the same issue: [key mapping issue #252](https://github.com/Shougo/neocomplcache/issues/252)

The previous approach is to check if `` key moved cursor to the next line.

Actually, we can check `pumvisible()` before pressing `` key

the function `neocomplcache#popup_post()` exists for this purpose. I am just not sure if `neocomplcache#is_eskk_enabled()` is necessary here.
```vim
function! neocomplcache#popup_post()"{{{
return !pumvisible() ? "" :
\ (!g:neocomplcache_enable_auto_select
\ || neocomplcache#is_eskk_enabled()) ? "\" :
\ "\\"
endfunction"}}}
```