>
> I'm not sure if InsertCharPre should apply when the popup menu is
> visible, keys mean something else then.  Perhaps we would need another
> event for that sitiuation?
>
No. I think that it can avoid to insert 'f' with checking pumvisible() while 
popup menu is shown.

autocmd InsertCharPre * let v:char = pumvisible() ? v:char : 'f'

(sorry for rough code)

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui