sponsor Vim development Vim logo Vim Book Ad

openurl.vim : open a url in a default browser

 script karma  Rating 2/2, Downloaded by 1123  Comments, bugs, improvements  Vim wiki

created by
Kenko Abe
 
script type
utility
 
description
Summary
=======
The OprnUrl function opens a url which is a first one in a line.

Require
=======
You need a python interface.

Usage
=====
If there is a line such that

Sample line. http://aaa http://bbb

You use ':OpenUrl' command in this line,
then you can open http://aaa in a default web browser.



I set a command for OpenUrl function, such that

command OpenUrl :call OpenUrl()

You can change command name by changing above command ame 'OpenUrl'.

example)
command AnotherOpenUrlName :call OpenUrl()
 
install details
1. Download openurl.vim
2. Move the file to
        HOME/.vim/plugin/
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
openurl.vim 0.1.0 2010-10-24 7.0 Kenko Abe Initial upload
ip used for rating: 216.73.216.103

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github