> > You can pipe shell commands through "sh", so you can highlight
> > the range of commands and then just use
>
> > :'<,'>!sh
>
> This deletes the command, which may or may not be desirable.
>
> > to execute them all.
>
> What's the problem with yanking and pasting? You can do something like
> this:
> :nmap ,, ^y$:r!<C-R>"<C-M>
>
> and then use ,, to yank the current line and let it get executed via a
> :r! ex command.
You can also set the 'equalprg' to 'bash', and then execute a line
with '==' or a selection with '=' (':help ='). If you don't want to
filter acutally, do '==u' for a line or '=u' for a selection.
Cheers, Roald
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---