RDF Namespace-complete


Ⅰ. 插件描述

RDF Vocabulary/Model Omni-Completion for Vim 7+

Ⅱ. 基本信息

创建日期:  2007-03-25
使用用户:  1
Github星:  1
插件作者:  Niklas Lindström

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

In a file with namespace prefix declarations similar to XML, Turtle/Notation3 or SPARQL, call

  :RDF

to turn on completion on terms within a namespace using the preceding prefix. This will load all RDF/XML and n3-files found in one of the following dirs:

  - $RDF_MODEL_FILES (environment variable)
  - ~/rdfmodels/
  - ~/Documents/rdfmodels/
  - /usr/local/share/rdfmodels/

Call

  :RDF reload

to reload model files, and

  :RDF quit

to restore the original omnifunc (if any).

添加新评论