[EMAIL PROTECTED] wrote:
What is the easiest way to edit a file that is in the same directory as
the current file? E.g. I open a file like this: vim /x/y/z/w/file1.c and
want to now open /x/y/z/w/file2.c? Occasionally want to open files in
the parent directory of current file's directory. It would be nice if
there is a special character like "," which starts from the current
buffer's directory. So ":e ,/file2.c" would work. Or maybe "~~" double
tilda character if "," doesn't work...
Thanks, Malahal.
Maybe ':set autochdir' would help too?
Wim