Sunday, January 15, 2012

Re: completion based on a set of files

If you just load the other files in buffers then the normal word completion will work exactly as you expect.  The other files don't even have to be visible.

$ vim A B C D

That will start vim with files A, B, C, and D all open in buffers.  The file visible by default will be A.  You can switch to the buffer that has D in it a few different ways.  The following is probably the easiest, it takes you to the last buffer in the buffer list.

:blast

You can read the help file for on buffers and windows.

:help windows

Quincy

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

No comments: