Use code completion in vim, as in sublime text

I would like to have autocomplete just like in sublime text, but in vim.

I need this behavior:

  • When I start typing a word, I want to have a field suggesting completion;
  • In the proposed replenishment, I want to use the last words;
  • I want to have functions found through ctags;
  • I want to have standard functions for the language used;
  • I want to have fragments

There are many autocomplete plugins for vim, and I'm lost.

+5
source share
2 answers

YouCompleteMe... , , . , ( , ), C/++/Objective-C/Objective-++ libclang.

, clang, lib++ VIM VIM python/ruby ​​/etc ++ 11. YouCompleteMe , . VAM, , Vundle Pathogen.

+7

:

for plugin in plugins
    try
       install plugin
       read    doc
       test    plugin
    catch
       remove plugin
    endtry
endfor

, , :h ins-completion, .

+3

All Articles