autocomplete in gvim for ruby
It is possible to setting up autocomplete menu in gvim?
For example in ruby file, when I type a name of object, object1.<C-P>
, I want to see attributes and methods of this object1, but vi开发者_StackOverflow社区m load in menu all words from file.
<C-p>
and <C-n>
complete with words in the active buffers.
<C-x><C-o>
completes methods and properties.
<C-x><C-l>
completes whole lines.
<C-x><C-f>
completes file names.
:help ins-completion
精彩评论