On Wed, Nov 13, 2013 at 9:03 AM, Christian Brabandt <[email protected]>wrote:

> On Tue, November 12, 2013 16:53, Ben Fritz wrote:
> > On Monday, November 11, 2013 10:45:15 PM UTC-6, Suresh Govindachar wrote:
> >> Hello,
> >>
> >>
> >>
> >> Please consider providing the feature whereby i_Ctrl-N would ignore
> >>
> >> buffers whose name begins with \\machine_name\ and machine_name is a
> >>
> >> remote machine (Microsoft Uniform Naming Convention (UNC)).
> >>
> >
> > I think what you're really asking is for a way to exclude buffers or
> files
> > from being processed by insert-mode completion, if you know scanning them
> > will be slow.
> >
> > This could be true for very large file, or for files on a network share,
> > or files that require reading with autocmds to unzip them or something.
> >
> > I support such an option. I like keeping 'path' fairly large for
> searching
> > with :find for a file, but this makes insert completion very slow if I
> > allow it to search in included files. Previously when we were using
> > ClearCase on my team, EVERY insert completion that scanned other files
> was
> > slow, because the ClearCase "dynamic view" mapped network drive is
> > painfully slow. I had to turn off most of the completion functions. I'd
> > certainly use a filter to remove specific directories from insert
> > completion scanning, were it available.
>
> So this would mean, having a new buffer local option like
> 'completebufignore' that is off by default and could be set to
> ignore the current buffer from being processed for completion?
>
>
To me it sounded more like in the buffer where you are running C-X C-O, you
would have an option where you could list all the buffers you do not want
to complete from.

Kind of like browsefilter, but in this case, I can access the filetypes or
filenames of the buffers to exclude.

My 2 cents.
Dave

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui