sponsor Vim development Vim logo Vim Book Ad

vim-kramdown-tab : A vim plugin to resolve indent issue of content nested in Markdown lists, especi

 script karma  Rating 1/1, Downloaded by 727  Comments, bugs, improvements  Vim wiki

created by
Ma Zhuang
 
script type
utility
 
description
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:

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 Leader-Tab.
 
install details
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
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-kramdown-tab-0.1.tar.gz v0.1 2016-10-14 7.0 Ma Zhuang Initial upload
ip used for rating: 44.220.184.63

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github