sponsor Vim development Vim logo Vim Book Ad

urilib : URI library in vim script inspired by URI.pm

 script karma  Rating 0/0, Downloaded by 770  Comments, bugs, improvements  Vim wiki

created by
tyru
 
script type
utility
 
description
    let uri = urilib#new('http://twitter.com/tyru')

" "http"
    echo uri.scheme()

" "twitter.com"
    echo uri.host()

" "/tyru"
    echo uri.path()

" "//twitter.com/tyru"
    echo uri.opaque()

" ""
    echo uri.fragment()


    let uri = urilib#new('http://d.hatena.ne.jp/tyru/20100619/git_push_vim_plugins_to_github#c')

" "http"
    echo uri.scheme()

" "d.hatena.ne.jp"
    echo uri.host()

" "/tyru/20100619/git_push_vim_plugins_to_github"
    echo uri.path()

" "//d.hatena.ne.jp/tyru/20100619/git_push_vim_plugins_to_github"
    echo uri.opaque()

" "c"
    echo uri.fragment()



Repository: http://github.com/tyru/urilib.vim
 
install details
 

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
urilib.zip 0.0.0 2011-03-09 7.0 tyru Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github