Ⅰ. 插件描述
:book: You Don't Know Js in Vim docⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'gabrielelippi/ydkjs-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'gabrielelippi/ydkjs-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'gabrielelippi/ydkjs-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/gabrielelippi/ydkjs-vim
Ⅳ. 文档说明
# You Don't Know JS (book series) in Vim doc

This is the awesome series of books diving deep into the core mechanisms of the JavaScript language, written by Kyle Simpson, made available right at your fingertips in Vim documentation.
How it works:
Simply type :help ydkjs.txt to open in a Vim buffer the entire book.
You can easily jump to the section you are looking for by selecting the chapter in the index.
Vim documentation doesn't support all the available syntax highlighting that markdown does, but we can have:
- title formatting
- highlighting inline code-like
- a basic but useful code formatting
Book License & Copyright
The materials herein are all © 2013-2018 Kyle Simpson.
Please note that all the books are written by Kyle Simpson, and all credits go to him; I only made available in Vim's documentation format the text that everyone could read for free here:
Or buy here:
- Up & Going: Buy Now
- Scope & Closures: Buy Now
- this & Object Prototypes: Buy Now
- Types & Grammar: Buy Now
- Async & Performance: Buy Now
- ES6 & Beyond: Buy Now
Installation
Vundle, add the following line to your
~/.vimrc:Bundle 'glippi/ydkjs-vim' $ vim +'PluginInstall! ydkjs-vim' +qallvim-plug, add the following to your plugin section:
Plug 'glippi/ydkjs-vim' $ vim +PlugInstallNeoBundle, add the following line to your
~/.vimrc:NeoBundle 'glippi/ydkjs-vim' $ vim +NeoBundleInstall +qallPathogen, execute the following in your shell:
$ cd ~/.vim/bundle $ git clone https://github.com/glippi/ydkjs-vim.git
Self-Promotion
If you like this plugin, you are welcome to:
License
This plugin is distributed under the same terms as Vim itself. See :help license.