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

136621Re: Filtering popupmenu-completion without changing word before cursor

Expand Messages
  • Ben Fritz
    Mar 5 9:30 AM
    • 0 Attachment
      On Tuesday, March 5, 2013 11:16:08 AM UTC-6, Martin Lundberg wrote:
      > On Tuesday, March 5, 2013 5:08:04 PM UTC+1, Ben Fritz wrote:
      > > Try setting completeopt=longest,menuone
      >
      > That's not what I want, I don't want anything to get added to the filter. I've been looking at the FuzzyFinder code and I can't figure out how it's done there.
      >

      Setting 'longest' won't add anything to any sort of "filter". I have no idea what you mean there.

      You said your problem was that Vim was changing what you typed when you triggered completion mode. "longest" will mostly fix that. You can continue typing to filter the menu just as you said you wanted.

      You also mentioned "a one-line buffer at the top" showing up for completion. Maybe you also want "preview"? I.e. it sounds to me like you want

      :set completeopt=longest,menuone,preview

      What exactly isn't happening that you expect with that setting? Or, what is happening that you don't want? Please be precise.

      --
      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 6 messages in this topic