我经常依赖omni-completion
编辑源代码,所以我当前.vimrc
包含以下设置以快速访问目标候选人:
inoremap <C-f> <C-x><C-o>
ins-completion
现在我发现除了 s 之外还有很多种somni-completion
并且对同时使用stags
和file names
完成也很感兴趣。
1. Whole lines i_CTRL-X_CTRL-L
2. keywords in the current file i_CTRL-X_CTRL-N
3. keywords in 'dictionary' i_CTRL-X_CTRL-K
4. keywords in 'thesaurus', thesaurus-style i_CTRL-X_CTRL-T
5. keywords in the current and included files i_CTRL-X_CTRL-I
6. tags i_CTRL-X_CTRL-]
7. file names i_CTRL-X_CTRL-F
8. definitions or macros i_CTRL-X_CTRL-D
9. Vim command-line i_CTRL-X_CTRL-V
10. User defined completion i_CTRL-X_CTRL-U
11. omni completion i_CTRL-X_CTRL-O
12. Spelling suggestions i_CTRL-X_s
13. keywords in 'complete' i_CTRL-N*emphasized text*
问题是,我如何在ins-complete-menu
单个命令上列出来自这些特定完成源的所有候选人,<C-f>
.