On Thu, 2007-01-18 at 14:26 +0100, Daniel Nogradi wrote: > Hi list, > > I'm using vim 6.3 and was thinking about upgrading to 7.0 especially > because of the new omni completion feature. But at the moment I'm not > quite sure what I would gain as there is the old Ctrl-n key in insert > mode which does code completion. So what does omni completion add that > Ctrl-n doesn't know currently?
C-X C-O will do language specific completions. eg (ruby): a = [1,2,3] a.<C-X C-O> will show all array methods (find, each, <<, grep, include? etc) Note: must have the ruby interpreter built in (--enable=ruby when compiling). See: http://users.skynet.be/antoine.mechelynck/vim/compunix.htm cheers, -- Mark