On 8/12/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 8/12/06, Gary Johnson <[EMAIL PROTECTED]> > > If you open a file under ClearCase using the full path name and a > version extension, e.g., > > /project/xyz/system/src/bar.c@@/main/42
If I'm not mistaken, 42 is version name here, and your problem is that such pathname does not have .c extension. How about creating "automatic" symlinks: have autocommand autocreate symlinks these lines: :au BufNew /project/xyz/system/src/*.v*.c :!ver=`basename <afile> .c | sed 's/^.*\.v//'`; base=`basename <afile> .c | sed 's/\.v[0-9]*\$//`; ln -s /project/xyz/system/src/\$base.c@@/main/\$ver <afile> This is untested, but the idea is that when you open % vim bar.v42.c the proper symlink is automatically created to version 42 of bar.c This solves the problem of proper extension and of ugly @@ filenames. Yakov