ydkjs-vim


Ⅰ. 插件描述

:book: You Don't Know Js in Vim doc

Ⅱ. 基本信息

创建日期:  2018-09-22
使用用户:  1
Github星:  13
插件作者:  Gabriele Lippi

Ⅲ. 安装方法

使用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

YDKJS inside Vim

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:

Installation

  • Vundle, add the following line to your ~/.vimrc:

    Bundle 'glippi/ydkjs-vim'
    
    $ vim +'PluginInstall! ydkjs-vim' +qall
    
  • vim-plug, add the following to your plugin section:

    Plug 'glippi/ydkjs-vim'
    
    $ vim +PlugInstall
    
  • NeoBundle, add the following line to your ~/.vimrc:

    NeoBundle 'glippi/ydkjs-vim'
    
    $ vim +NeoBundleInstall +qall
    
  • Pathogen, 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.

添加新评论