On Thursday 20 November 2008, David Fishburn wrote:
> On Thu, Nov 20, 2008 at 9:25 PM, Tim Johnson <[EMAIL PROTECTED]> wrote:
> > Using vim 7.10 kubunut 7.10
> > I'd like to be able to assign the contents of a register to a variable
> > example:
> >  let arg = contents_of_unamed_register
> >  let cmd = "!myscript " . arg
> >  exe cmd
>
> let arg = @"   (default register)
> let arg = @+  (clipboard)
> let arg = @a  (when you do a "ayy)
  :-) And I just did 
  :@
  thanks very much!
  Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to