Ⅰ. 插件描述
A vim plugin to resolve indent issue of content nested in Markdown lists, especiⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/vim-kramdown-tab-care-of-itself'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/vim-kramdown-tab-care-of-itself'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/vim-kramdown-tab-care-of-itself'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone
Ⅳ. 文档说明
In GitHub: https://github.com/mzlogin/vim-kramdown-tab
Screenshots:
https://raw.githubusercontent.com/mzlogin/vim-kramdown-tab/master/screenshots/test.gif
With kramdown(GitHub Pages' default Markdown engine), the indent rule for content nested in lists is:
Good:
- ordered item one
nested content here - ordered item two
- unorder item one
nested content here - unorder item two
Bad:
- ordered item one
nested content here - ordered item two
- unorder item one
nested content here - unorder item two
Tab key doesn't know how to indent! This plugin is to rescue your Tab.
Usage:
When you want to indent your content nested in lists, just press Leader-Tab.