Hello, "Keffin Barnaby" <...> wrote :
> I'm using the a.vim[1] plugin [...] > > I tried using a wildcard by adding "sfr:../include/*,sfr:../../src" to > g:alternateSearchPath. With this setup, switching from test.h to > test.cpp is standard stuff and works fine, but going from test.cpp > to test.h works ONLY when I have previously switched from test.h to > test.cpp. I have a similar directories architecture. However I have had used the following for quite some time now: let g:alternateSearchPath = 'reg:#/src/cpp#/inc#,reg:#/inc#/src/cpp#' I also remember I had a few issues with pathnames. In the end I've patched a.vim for my personal use, I won't guaranty it will fix your issue though (I've just tested that I'm able to find the file with :AV from only the .cpp opened with as long as it already exist). The result is available here: http://code.google.com/p/lh-vim/source/browse/cpp/trunk/after/plugin/a.vim NB: along the process, I've introduced a dependency to a library I'm maintaining, only the following file is requested for this patched version of a.vim: http://code.google.com/p/lh-vim/source/browse/vim-lib/trunk/autoload/lh/path.vim HTH, -- Luc Hermitte http://lh-vim.googlecode.com/ http://hermitte.free.fr/vim/ -- 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
