Hi! I'm trying to implement starting omni completion with <Tab> and then looping over completion variants also with <Tab>.
I've map <Tab> to function which returns "\<c-x>\<c-o>" to start omni completion, but next <Tab> should return "\<c-n>" and I've no idea how to detect is user already in ins-completion mode. pumvisible() doesn't helps because there is no menu on screen (only "--- Omni… (^O^N^P) …" line at bottom of screen). mode() also doesn't helps because it report "i" all of time. Vim 7.4.738 -- WBR, Alex. -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.