On Friday, November 1, 2013 9:29:03 PM UTC+1, Albert Zeyer wrote:
> Hi,
> 
> I want to be able to click on URLs I see in MacVim so that it opens the URL 
> with the responsible application (e.g. a http link with my default browser). 
> How can I do that? Is that possible?
> 
> Regards,
> Albert

A valid URL cannot include spaces (they must be replaced by %20), so if it is 
itself between spaces, "+yiW (with the cursor anywhere on it) will yank it to 
the clipboard. Similarly "+yi< or "+yi> if it is between <>, etc., see ":help 
object-motions". Then you can paste it into your favourite browser's URL bar.

This question (or at least this answer) applies to vim (compiled with 
+clipboard, of course) on any platform, not just on the Mac, so it should have 
been asked on the vim_use group.

Best regards,
Tony.
-- 
A "No" uttered from deepest conviction is better and greater than a
"Yes" merely uttered to please, or what is worse, to avoid trouble.
                -- Mahatma Gandhi

-- 
-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to