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

Re: how do you save a buffer out as a file in vim?



On Thu Feb 13, 2003 at 11:26:04AM -0500, the boisterous
Drew Cohan <drewcohan@drewcohan.com>
wrote to me:
> 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).

:w file2

-- 
  ___    Obviously we do not want to leave zombies around.
_/___\     - W. Richard Stevens
 ( ^ >   Thomas Krennwallner <djmaecki at ull dot at>
 /   \   1024D/67A1DA7B 9484 D99D 2E1E 4E02 5446  DAD9 FF58 4E59 67A1 DA7B
(__\/_)_ http://bigfish.ull.at/~djmaecki/

Attachment: pgp0Y01NpXNxW.pgp
Description: PGP signature


Reply to: