>> Is it possible to pass a non-line based range to a function (i.e.
>> using visual mode to select a piece of text in one line)?
>
> Yes, you can find a nice example at :help g@

I'm not sure how I would use the g@ command to pass the selected block
to a command line though?

The example provides for yanking to the '@' registry, but I actually
want to 'w !putclip' in command mode.  I should also point out that
I'm only concern about handling Visual mode.

Thanx!

Chris

-- 
Chris Sutcliffe
http://emergedesktop.org

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

Reply via email to