Re: Copying to a new file




"coffee" <coffee@xxxxxxxxxxxxxx> wrote in message
news:9oWdnUbt15wM98DVnZ2dnUVZ_szinZ2d@xxxxxxxxxxxxxxx
On Fri, 20 Jun 2008 18:43:11 +0530, Artnut wrote:

Hi all,

The other day I was browsing through the Vimtutor which runs as a
command. It opens as a tutorial. I would like to know how can I copy,
paste the entire contents to a new file. If I yank the contents, they
can only be copied to the same file. Maybe I am doing something wrong
but does VIM really have a facility/command to copy to another file? I
tried the usual cp command but that copies the command and its code for
the Vimtutor.

Also, how do I read the lessons numbered as |usr_1.txt| ?


Thank you in advance.

Arty

Arty;


cp origional-file.txt newfile.txt

To assemble avi slices from newsgroups:

cat firstfile.avi.0* > movie.avi

Or, You can copy the contents of a file also by:

cat originalfile.txt > newfile.txt

helps?


coffee


Hey Coffee and others, thanks indeed for the replies. Ideally cat abc.txt >
xyz.txt would help but vimtutor is a command which opens as tutorial in Vi
or Vim. If I yank those 970 lines and I open a blank new file, I cannot p
(paste) because it is not programmed that way. It means I can only paste the
yanked 970 lines in the same tutorial giving me additional 970 lines! I
don't understand why this limitation for a command related file. I can copy
from a normal vi file and paste into another new vi file but cannot do so
with a command output file.


Thank you,

Arty


.



Relevant Pages

  • Re: Ms Scanner @ Camera Wizard - What is it ?
    ... Type into the Run command and see what opens: ... You can open almost anything with the Run command. ... You can open a file or folder or connect to a shared computer by typing ... Right click Shared Documents and click Properties. ...
    (microsoft.public.windowsxp.general)
  • Re: very slow cursor in CMD window w/Text editor?
    ... I have that shortcut on my Start Menu. ... hh ntcmds.chm::/ntcmds.htm in the Run command will open right to the page. ... also opens Network Connections. ... Any *.chm file can be opened by double clicking. ...
    (microsoft.public.windowsxp.general)
  • Supershell (Windows XP, VB)
    ... ctrl+windows and type the command. ... :> google pda technology (Will do the obvious, ... :> /database/library (opens the specified folder underneath the ...
    (comp.programming)
  • Supershell (Windows XP, VB)
    ... ctrl+windows and type the command. ... :> google pda technology (Will do the obvious, ... :> /database/library (opens the specified folder underneath the ...
    (microsoft.public.vb.general.discussion)
  • Re: The command button on my forms doesnt work, any clues why?
    ... "Subform" is a special term in Access, referring to a form that is within another form. ... When you open the main form, the subform opens in it. ... Pase the code the wizard created for you for the Click event procedure of your command button. ... my primary form to a detail form. ...
    (microsoft.public.access.forms)