[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Vim question



On Sun, Apr 14, 2002 at 07:41:43AM +0100, Patrick Kirk wrote:
> Hi all,
> 
> What is the command to save a file under another name?  For example,
> if I have editted a Makefile and do not have write access, how can I
> save it as ~/pkMakefile

:w ~/pkMakefile

Note, after the file is written, Vim doesn't switch to using it
thereafter, unless you do something like ":e ~/pkMakefile".

-- 
Eric G. Miller <egm2@jps.net>


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: