Loading ...
Sorry, an error occurred while loading the content.

37501Re: multiple copy

Expand Messages
  • Yiu Wing
    Feb 28, 2003
    • 0 Attachment
      [snipped]
      > >
      > > To paste them in your file, in normal do <c-r> and then type the number
      or
      > > '-' to paste the content of the corresponding register.
      >
      > This is for insert mode not normal mode.

      Well spotted! I'll the blame the misarable weather today that has caused
      this sematic typo...

      > >
      > > For more details check out
      > >
      > > :h registers
      >
      > Yes. Read this. I think it will answer all your questions.
      >
      >
      > Instead of relying on the numbered registers and having to remember that
      > the text you want to paste was the 7th most recent delete you might want
      > to use the named registers a-z.
      >
      > To delete a word and save it in register 'b':
      >
      > "bdw
      >
      >
      > To copy (yank) a word into register 'b' without deleting it:
      >
      > "byw
      >
      >
      > Then to paste it back into a file (possibly a different file):
      >
      > "bp
      >
      >
      > Ross
    • Show all 8 messages in this topic