Hi Karthik! On Fr, 19 Feb 2010, Karthik Kashyap Thatipamula wrote:
> I have multiple projects in my work directory and for each project i > have a tags file. > In my vimrc i have an option to load my tags like > :set tags=./tags,tags,~/work/prj1/src/tags > > Now i want to set this value dynamically depending on the project in > which i open the source file. > So if i open a file in ~/work/prj1/src/.. i should load the ~/work/ > prj1/src/tags file and when i open a file in ~/work/prj2/src/... i > should load the ~/work/prj2/src/tags file. > > How can i do this in vim. > > Any pointers would be helpful. Search the Website for some scripts. There are probably several different ones available. Maybe this one works for you: http://www.vim.org/scripts/script.php?script_id=1873 regards, Christian -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
