Hi,
you could use the following mappings (put them into your _vimrc):
"Launch firefox with URL under cursor
nmap ,ff :update<CR>:!start "C:\Programme\Mozilla Firefox\firefox.exe"
<cWORD><CR>
"Launch Internet Explrorer with URL under cursor
nmap ,ie :update<CR>:!start "C:\Programme\Internet
Explorer\IEXPLORE.EXE" <cWORD><CR>
Then you'll have to move the cursor over the URL and type ,ff to launch
firefox or ,ie to launch IE.
Cheers,
Wolfgang
P.S. I found this tip on
http://www.rayninfo.co.uk/vimtips.html
which contains many useful tips on Vim.
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 any
similar for URLS?
Many thanks in advance,
Andalou