📦 A vim plugin to resolve indent issue of content nested in Markdown lists, especially for kramdown.
Vim script
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ftdetect
ftplugin
screenshots
test
.gitignore
LICENSE
README.md

README.md

vim-kramdown-tab

A vim plugin to resolve indent issue of content nested in Markdown lists, especially for kramdown.

中文版使用指南

Table of Contents

With kramdown(GitHub Pages' default Markdown engine), the indent rule for content nested in lists is:

  • Good

    1. ordered item one
       nested content here
    2. ordered item two
    
    * unorder item one
      nested content here
    * unorder item two
  • bad

    1. ordered item one
        nested content here
    2. 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 LeaderTab.

Installation

Suggest to manage your vim plugins via Vundle so you can install it simply three steps:

  1. add the following line to your vimrc file

    Plugin 'mzlogin/vim-kramdown-tab'
    
  2. :so $MYVIMRC

  3. :PluginInstall

Screenshots