Hi,

is it possible to hide ex commands called via a mapping from appearing in the 
command line?

TIA,
Stefan


-----Ursprüngliche Nachricht-----
Von: Bittner, Stefan 
Gesendet: Freitag, 7. Juli 2006 20:56
An: 'Cesar Romani'
Betreff: AW: Launch a browser from url in text

Hi Cesar,

I don't think there is a way to hide it. The \gu is a mapping to that
:call Utl_goUrl('edit')
and this can't be hidden as far as I know.

Sometimes I think, it would be nicer to only have ":" commands - no \xx mapping 
at all. So the \gu would be replaced by, say, :Gu . (The latter
exists, but not to open URL under cursor but takes an URL as argument.)

I guess, that what you want is: to get the right hyperlink feeling, just
follow the URL with no "noise". Correct?

Regards,
Stefan

-----Ursprüngliche Nachricht-----
Von: Cesar Romani [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 6. Juli 2006 03:57
An: [EMAIL PROTECTED]
Cc: Vim
Betreff: R: Launch a browser from url in text


> -----Messaggio originale-----
> Da: Bittner, Stefan [mailto:[EMAIL PROTECTED]
> Inviato: lunedì 3 luglio 2006 19.19
> A: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Oggetto: WG: Launch a browser from url in text
> 
> Hi Cesar,
> 
> if you consider to use the Utl-plugin mentioned by Tom below, please don't
> hesitate to contact me if you have any questions. I think Utl.vim can do
> what you need.
> 
> With the mapping
> 
>       :nmap <2-LeftMouse> <Leader>gu
> 
> you can doubleclick an URL. It would also be possible to use URLs without
> embeddings, e.g. execute
> 
>       http://www.vim.org/scripts/script.php?script_id=293
> 
> instead of
> 
>       <URL:http://www.vim.org/scripts/script.php?script_id=293>
> 
> 
> Regards,
> Stefan (Creator of utl.vim plugin)
> 
> -----Ursprüngliche Nachricht-----
> Von: Tom Purl [mailto:[EMAIL PROTECTED]
> Gesendet: Sonntag, 2. Juli 2006 04:30
> An: Cesar Romani
> Cc: Vim
> Betreff: Re: Launch a browser from url in text
> 
> Check out the utl plugin:
> 
> * http://www.vim.org/scripts/script.php?script_id=293
> 
> It may not be exactly what you want, but it's very close.
> 
> HTH!
> 
> Tom Purl
> 
> On Sun, Jul 02, 2006 at 04:19:10AM +0200, Cesar Romani wrote:
> > Is it possible to doubleclick a highlighted URL in a text and thus
> launch a
> > browser, f.e. internet explorer or firefox?
> > The command "gf" allows to open a file under a cursor. Isn't there
> > anything similar for URLS?
> > Many thanks in advance,
> >
> > Andalou
> >
I'm using utl.vim to open url under the cursor.
When I press \gu under an url, it opens the url but it appears at the
bottom:
:call Utl_goUrl('edit')

How can it be hidden?
Many thanks in advance,

Cesar





----- End forwarded message -----

-- 

Reply via email to