This is a bundle of vimfiles for editing RDF data. It includes various RDF syntax highlighting and a plugin for RDF prefix completion.
- Turtle
- TriG
- Notation 3 (also available on Vim.org as n3.vim)
- JSON-LD
- RDFa in HTML
(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.)