Hello, I have vim 7.2.22 on Mac OS X. I have configured (exuberant) ctags and they work great with omni-completion. I also use the OmniCppComplete plugin because mainly I work on C++ code.
I want to map the default keybinding for omni-completion to something more easy to type. I have tried a lot of different options like: :inoremap <C-O> <C-X><C-O> :inoremap <C-Space> <C-X><C-O> :inoremap <C-I> <C-X><C-O> :inoremap <C-@> <C-X><C-O> Neither of this works as expected. More specifically, the omni-completion menu does not pop up. Instead, the shorter keybinding just inserts the first omni-complete option, so the completion actually takes place, but it is short circuited because the menu doesn't show up. I tested the mappings with: :imap <keybinding> and they are ok. I also tested if vim actually receives the key codes doing in Insert mode: <C-V><key> and checking the code. Vim receives the correct keys. I have same behavior with vim 7.1.145 on FreeBSD. Is it my fault or have I found a bug? Thanks, -- Aram Havarneanu --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
