* A.J.Mechelynck <[EMAIL PROTECTED]> [2007-02-26 02:08]: > >-- > > > >I want to type some_very_long_string(some_another_long_string). > > > >Now I type 'some_very' and hit <ctrl-p> to complete it. After that I > >type '(' then 'some_another' and I hit <ctrl-p> again. Without leaving > >the insert mode, of course. Now on the screen appears: > > > >some_very > > > >I use 'completeopt=menu,longest,menuone'. Is there any possibility to > >get rid of that annoying behaviour without removing 'longest' from my > >completeopts? > > maybe with :set isk-=( isk-=)
no, because '(' and ')' isn't in isk. > > Or does Ctrl-N work differently than Ctrl-P when there is no completemenu > open? With ctrl-p, it doesn't complete at call for the second word. :( Bernhard -- Es gibt viel zu tun - schnell weg! -- Peter E. Schumacher
pgplBT97wW2iQ.pgp
Description: PGP signature