mdn.vim


Ⅰ. 插件描述

Wrapper on top of `mdn-cli` for nvim

Ⅱ. 基本信息

创建日期:  2016-04-09
使用用户:  2
Github星:  2
插件作者:  vimlab

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# mdn.vim

Wrapper on top of mdn-cli for nvim. Provides a :Mdn <search terms> command
to query http://mdn.io, parse the HTML result and fill in a vertical buffer
with MDN documentation.

Mainly do play around with neovim's remote plugin API.

Usable only with neovim, unless rplugin/node code is ported over to vimscript

Installation

  • Install node-host.
  • Extract the files and put them in your VIM directory (usually ~/.vim/)

If you don't have a preferred installation method, I recommend installing
vim-plug and using the following configuration:

Plug 'neovim/node-host'
Plug 'mklabs/mdn.vim'

:Mdn <search term>

Accepts n* number of arguments. Will vertical split a non modifiable buffer
with the content of the relevant MDN page.

添加新评论