On Thursday 17 September 2009, Tim Chase wrote:

> > For example, I was going through a textfile where several
> > linux commands were written. Now since I am lazy :), I
> > don't like to go to insert mode, then copy that line,
> > then enter exec mode, and then paste and then press
> > enter. Oh Man its too tedious!!
>
> Heh, lazy after my own heart.
>
> If they are Ex commands, and have the leading colon, you
> can just yank them and then execute them as a macro:

no tim, i think you missed where the OP said they are linux 
commands -- i think he is looking for a way to get them to 
the command line with a '!' in front of them -- without 
having to yank and paste

about the only way i know of helping would be to say you don't 
have to enter insert mode to yank

sc

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

Reply via email to