Zopedav


Ⅰ. 插件描述

Handles remote editing with WebDAV, including zope

Ⅱ. 基本信息

创建日期:  2005-09-25
使用用户:  1
Github星:  1
插件作者:  Sébastien Migniot

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/zopedav'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/zopedav'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/zopedav'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/Zopedav

Ⅳ. 文档说明

This script allows editing of WebDAV resources and is zope-aware.
This plugin does not conflict with netrw and catches the
webdav:// and zope:// url schemes.

  • Zope scheme
    zope://[username:password@]host[:port]/path/to/document urls are

GET using a "/document_src" suffix and
PUT using no suffix

  • WebDAV scheme
    webdav://[username:password@]host[:port]/path/to/document urls are

GET using no suffix and
PUT using no suffix

  • Using SSL
    Shall you need to use ssl, add an "s" prefix to the protocol, for instance

szope://securedhost/some/private/document.dtml
swebdav://securedhost/some/private/document

  • Options
    If you intent on editing every WebDAV resource under the "/source"

url suffix or/and upload them back under the "/upload" suffix, use the
following options in your .vimrc :
let g:webdav_get_suffix = "/source"
let g:webdav_put_suffix = "/upload"

NB: No error handling is performed
NB: See also vimscript #1075

添加新评论