> My c project has a directory structure that puts all global header files in > a separate directory 'Include', so I want to set the 'path' variable in vim > to something like 'set path=.,Include', but I only want to do this for the > specific project, for other projects, the path may be set other ways. How > do I do this with vim?
I use localvimrc[1] for that. It sources all .lvimrc files from the current file's directory upward when editing the file. [1] http://www.vim.org/scripts/script.php?script_id=441 --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
