webpreview : make previewing pages in web browsers easily
script karma |
Rating 0/2,
Downloaded by 734 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
weiye zhou |
|
script type |
utility |
|
description |
support preview edit pages in outer web browser, included file types like php,html,jsp and so on.
You can just give a browser, web server in .vimrc like :
" let g:Default_WebBrowser='c:\Program Files\Maxthon2\Maxthon.exe'
" let g:Second_WebBrowser=''
" let g:Default_WebDomain='http://weiye.cn'
" let g:Default_WebRoot='D:/www'
Or give a server list and browser list like:
" let g:WebList = [
" \ {'domain' : 'http:// * .blog.weiye.cn','rootdir' : 'D:/www/blog/ * '},
" \ {'domain' : 'http://blog.weiye.cn','rootdir' : 'D:/www/blog'},
" \ {'domain' : 'http://weiye.cn','rootdir' : 'D:/www'},
" \ {'domain' : 'http://aa.bb.cn','rootdir' : 'ftp://user@192.168.202.110/www/xx'}
" \ ]
" let g:BrowserList = {
" 'default' : 'c:\Program Files\Maxthonsecond\Maxthon.exe' ,
" 'second' : 'c:\Program Files\Mozilla Firefox\firefox.exe' ,
" 'ie' : 'c:\Program Files\Internet Explorer\iexplore.exe' ,
" 'ff' : 'c:\Program Files\Mozilla Firefox\firefox.exe'
" \}
support wildcard * in server list.support remote ftp server.
In default, use ",bd" to preview the current edited page in the default web browsers and ",bs" in the second web
server.
Read the webpreview.vim document for more details
|
|
install details |
put the webpreview.vim into $vim/vimfiles/plugin/ (win32) or $vim/.vim/plugin/(linux) |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.141.165.89
|