Re: [vim-dev] Re: Keyword completion

2006-09-20 Thread Gautam Iyer
On Wed, Sep 20, 2006 at 10:41:58PM +0200, Martin Stubenschrott wrote: > > Maybe this has been discussed already: When pressing Ctrl-P / Ctrl-N, > > can we get vim to complete from the list of syntax keywords? > > You can do that by setting: > > :set omnifunc=syntaxcomplete#Complete > > and then

Re: Keyword completion

2006-09-20 Thread Martin Stubenschrott
On Wed, Sep 20, 2006 at 01:33:54PM -0700, Gautam Iyer wrote: > Maybe this has been discussed already: When pressing Ctrl-P / Ctrl-N, > can we get vim to complete from the list of syntax keywords? You can do that by setting: :set omnifunc=syntaxcomplete#Complete and then use You can also specif

Keyword completion

2006-09-20 Thread Gautam Iyer
Hi All, Maybe this has been discussed already: When pressing Ctrl-P / Ctrl-N, can we get vim to complete from the list of syntax keywords? Better still say from a specified group? Or does one have to write out these keywords separately in a completion file? Thanks, GI -- A hangover is the wra