You can edit files in a different directory easily with Ved. Assuming that ``mydir'' is a directory file, you can type something like:
ved mydir/file1
to edit the file ``mydir/file1''.
However, if the name you specify is a directory name only (not a path to a file), then the on-screen directory function (Chapter 4) will be enabled in the specified directory.