On Oct 18, 4:33 pm, Florian Klein <[email protected]> wrote: > According to the doc, file completion (Ctrl-X Ctrl-F) doesn't use the path > (yet). > > When it will be the case, you'll have the possibility to: > > set path+=.,, > > It will autocomplete starting from current file's directory
What I do, to allow me to easily complete #include statements (similar to what is wanted by the OP of this old thread), is use tag-completion with Ctags. When generating tags for my project, I include an "--extra= +f" argument. This generates a tag for the filename of every file analyzed by ctags, which can then be completed using <C-X><C-]>, or for C code by default, <C-X><C-O>. http://ctags.sourceforge.net/ctags.html -- 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
