semweb.vim


Ⅰ. 插件描述

Semantic Web vim bundle

Ⅱ. 基本信息

创建日期:  2004-03-23
使用用户:  5
Github星:  6
插件作者:  Sebastian Tramp

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim bundle for working with RDF knowledge bases

Installation

This bundle is created to work with pathogen so just copy the folder
into your bundle directory.

Features

  • namespace completion
  • syntax highlightning
  • insert xsd:dateTime current time literal with abbrevation xsdnow

namespace completion

You can use ctrl-x+u (autocomplete user function) for completing
rdf prefixes (as owl, skos and foaf) to namespace URIs (e.g.
http://xmlns.com/foaf/0.1/ for the foaf prefix).

This done with the multifunctional shell script
rdf.sh which is a dependency and must
be available as rdf in the path.

syntax highlightning

N3 Syntax

I just pull the syntax file from [Niklas
Lindström](git://github.com/vim-scripts/n3.vim.git) here.

SPARQL Syntax

I just pull the syntax file from [Jeroen
Pulles](https://github.com/vim-scripts/sparql.vim) here.

添加新评论