[slightly redone version of previous post]

Hello,

  What's the best way to get the contents
  of a file into a register?  The following
  works (file is foo.bat) but is there a
  better way?

      :new|r foo.bat|1d|exec 'normal "ayG'|q!

  Thanks,

  --Suresh

Reply via email to