On Thu, Jan 12, 2012 at 10:07 AM, Chris Lott <[email protected]> wrote:

> I'm using SuperTab and I love the way it handles completion using
> existing words in the file I'm editing.
>
> 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.

I hope this isn't too obvious to you, but I thought I'd mention it.

-- 
Marty Fried
Press Enter to exit.

-- 
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

Reply via email to