44791Re: changing cwd (easy)
- Nov 1, 2003jonah <jonahgoldstein@...> wrote:
> Hi,There is, but I'm not sure. Maybe ":cd %:p:h"? (or :lcd instead of :cd to
> How can you set the current working directory to the directory of the
> current file?
change dir only for the current window)
>see ":help :saveas"
> Also, is there a way to do a "Save as" and start working on the new
> file in one simple command?
> That is, say your working on test.txt. I want a shortcut for doing
> > w test2.txt
> > e test2.txt
> Thanks for any info,
- << Previous post in topic Next post in topic >>