> I installed ./plugin/LargeFile.vim so that I can open large
> files faster. But when open multiple files (some are large
> files), it will scan the large files if I type ctrl+P. I am
> wondering if LargeFile plugin can be modified so that vim
> would not scan the large files.

The only way I know to prevent vim from scanning files is to 
combine them with a condition not included in the 'complete' 
option.  There's no "scan or don't-scan this buffer for 
completions" flag associated with buffers.

Thus, if you could ensure that the large files weren't 
[un]loaded, you could remove any of "b", "u", or "U" from your 
'complete' options to prevent them from being scanned.  You could 
even eliminate other windows from being searched, but I use 
other-window-completion too frequently to give it up.

It does sound handy since I occasionally lament having some huge 
  file open and trying to do a completion in another window, only 
to have vim hang until it's found the mountain of matches in this 
meddlesome buffer.  It would be nice to have a per-buffer "ignore 
this for completion" setting that LargeFile.vim could set.

-tim





--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to