Loading ...
Sorry, an error occurred while loading the content.
 

Re: Completion deletes previously completed text

Expand Messages
  • Bernhard Walle
    ... no, because ( and ) isn t in isk. ... With ctrl-p, it doesn t complete at call for the second word. :( Bernhard -- Es gibt viel zu tun - schnell weg!
    Message 1 of 3 , Feb 26, 2007
      * A.J.Mechelynck <antoine.mechelynck@...> [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
    Your message has been successfully submitted and would be delivered to recipients shortly.