xolox/vim-easytags — Issue #22: Linking directories
Author: ralesi
Created: 2011-12-04 22:54:07+00:00
State: open

Heres an idea for cross platform linking of files:

Get a dictionary of lists for each directory synced across platforms. Easytags checks the presence of each directory in the list and then substitutes the path in the tags file for each other item in the list.

For example:

You have a list like [''~/testing","D:\My Project Test","~/.vim/testing/testfiles"]

Depending on which directory is available (iterate through all and check, if more than 1, raise exception), replace all paths in your tags file with the present directory, maybe run an UpdateTags! afterwards to get rid of duplicates, but this shouldn't be an issue after the first conversion.

Let me know what you think, I have been doing this manually for a while and it works, especially if you have directories synced with git or with dropbox