* Drew Cohan <[EMAIL PROTECTED]> [03-02-13 12:09]:
> Hi,
> 
>  
> 
> I want to be able to open one file in vim (vim file1), copy some arbitrary
> lines (v, down arrow, yy), and then save that buffer out as a file (file2).

NB: try "j" instead of down arrow (j is closer than the arrow).

>  
> 
> What is the ":" command to save out the buffer?
> 

:e file2

paste with p 
(which paste the last register '""'. Btw, see them with :reg)

:w

(among others ways to do it).
  
> 
> Thanks,
> 
>  
> 
> Drew
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Xavier Barnabe-Theriault                             http://xebu.org/
Maitrise en physique, etudiant               M.Sc. Student in Physics
Gulus:                                              http://gulus.org/
Mydynaweb: Develop(peu|e)r                      http://mydynaweb.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to