grimoire.vim


Ⅰ. 插件描述

Vim support for Clojure Grimoire

Ⅱ. 基本信息

创建日期:  2014-12-23
使用用户:  4
Github星:  5
插件作者:  jeb beich

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

grimoire.vim

Vim support for Clojure Grimoire

:Grim - echo doc for symbol under cursor
:GrimBuffer - Similar to :Grim but creates new buffer
:GrimBrowse - open doc in browser (using gx)

Dependencies

Installation

First, install the Vim plugin. Using Vundle, you'd add the following to your
config:

Plugin 'jebberjeb/grimoire.vim'

Next, add the Leiningen dependency (preferably to your ~/.lein/profiles.clj):

[grimvim "0.1.0"]

In your .vimrc, override g:grimoire#version to point to a different version
of Clojure if needed (defaults to 1.7.0).

TODO

  • cache api calls
  • check for names, namespaces (using api)
  • help doc

License

Distributed under the same terms as Vim itself. See :help license

添加新评论