vim-rdf


Ⅰ. 插件描述

A bundle of vimfiles for editing RDF data (syntaxes, completion, etc.)

Ⅱ. 基本信息

创建日期:  2014-02-10
使用用户:  36
Github星:  26
插件作者:  Niklas Lindström

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Vim-RDF

This is a bundle of vimfiles for editing RDF data. It includes various RDF syntax highlighting and a plugin for RDF prefix completion.

Syntax highlighting

Plugins

RDF Prefix Completion

(Prerequisites: Python support in Vim and RDFLib installed in a Python
environment available to Vim.)

Call

:RDF

to enable. This automatically sets up the user-defined completefunc (invoked
with CTRL-X CTRL-U in insert mode) to complete on RDF prefixes. It uses
http://prefix.cc/ under the hood, and automatically dereferences and caches RDF
vocabularies when completing on defined prefixes.

(And older version of this plugin is available on Vim.org as
RDF Namespace-complete.)

添加新评论