Re: Launch a browser from url in text
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"
"Launch Internet Explrorer with URL under cursor
nmap ,ie :update<CR>:!start "C:\Programme\Internet
Then you'll have to move the cursor over the URL and type ,ff to launch
firefox or ,ie to launch IE.
P.S. I found this tip on
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,