On Thu, Jan 12, 2012 at 9:19 AM, Marty Fried <[email protected]> wrote: > On Thu, Jan 12, 2012 at 10:07 AM, Chris Lott <[email protected]> wrote: >> >> What I'd like to do, though, is have it complete based on the contents >> of a bunch of previous files in the series: so when I'm editing File >> D, it will attempt completions using files A,B, and C. These are all >> prose documents (markdown), not code. >> >> I'm lost in the documentation for completions. Is there a relatively >> straightforward way to achieve this? >> > Do you know that Vim does autocomplete without any plugins (Ctrl-P/Ctrl-N)? > I'm not familiar with SuperTab, so I don't know what it adds to this, but > the built-in autocomplete will work with other buffers, although I don't > know if it works with arbitrary files that aren't loaded.
As far as I know, SuperTab just makes it easier to choose completion modes, and that works, but I do need to be able to the completions based on arbitrary files. I suppose I could just have a command that loaded all the files in hidden buffers... I'm a newbie... nothing's too basic for me :) c -- 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
