Ⅰ. 插件描述
Very basic Vim syntax for CypherⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'neo4j-contrib/cypher-vim-syntax-speak-now'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'neo4j-contrib/cypher-vim-syntax-speak-now'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'neo4j-contrib/cypher-vim-syntax-speak-now'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/neo4j-contrib/cypher-vim-syntax
Ⅳ. 文档说明
Cypher Vim Syntax
What is it?
This is a basic Vim syntax for the awesome Cypher graph database query language. Cypher is like SQL for graph databases. You can find Cypher on Neo4j.
Why should I use it?
Because syntax highlighting is really helpful, that's why. Also, we want people to be able to do ad-doc queries and graph updates in their favourite shell, and not compromise readability, etc.
How should I use it?
- Install the awesome pathogen Vim plugin.
- cd .vim/bundle
- git clone git://github.com/neo4j-contrib/cypher-vim-syntax.git
- edit a file that has the extension .cypher or .cql
Who should I thank?
- robinedwards for extending the syntax.
- davidszotten for making it work with pathogen.
Thanks guys!