vim-cheat-x-in-y


Ⅰ. 插件描述

A plugin for vim that shows a cheat sheet for a given filetype

Ⅱ. 基本信息

创建日期:  2013-06-01
使用用户:  2
Github星:  2
插件作者:  Justin Donaldson

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'jdonaldson/vim-cheat-x-in-y'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'jdonaldson/vim-cheat-x-in-y'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'jdonaldson/vim-cheat-x-in-y'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/jdonaldson/vim-cheat-x-in-y

Ⅳ. 文档说明

# Vim-cheat-x-in-y

screenshot

This plugin lets you quickly open up a cheat sheet for a given language in a
vertical split on the right. Specifically, they are the guides from
[learnXinYminutes][].

Installation

The recommended way to install vim-cheat-x-in-y is using a bundle management system such
as [vim-plug][], [pathogen][], [vundle][], or [vam][]. Check the respective
readmes for specific installation instructions.

The author endorses vim-plug for this project, since it automatically resolves
the submodule dependency for learnXinY.

Add this to your vimrc or bundle list, and source it:

Plug 'jdonaldson/vim-cheat-x-in-y'

run :

:PlugInstall

Usage

The plugin adds a single command: :ToggleCheat. This will open or close
a vertical split containing the read-only markdown cheat file for the current
file type.

If a cheat file is not available, a message will be displayed.

Credit

[learnXinYminutes][], for most
of the guides, and for which this plugin is named.

添加新评论