sponsor Vim development Vim logo Vim Book Ad

RST Tables (CJK) : Allows to create and edit restructuredText tables easily (CJK)

 script karma  Rating 6/3, Downloaded by 1098  Comments, bugs, improvements  Vim wiki

created by
Vern Sun
 
script type
ftplugin
 
description
Original plugin: vimscript #3041

two new commands:

    ,,c  ->  Creates a new restructuredText table.
    ,,f  ->  Fix table columns in a table.

For example, if you have a paragraph with data like this:

http://du1abadd.org/images/2011/origin.png

you can press ",,c" to create a simple table:

http://du1abadd.org/images/2011/create.png

Now, if you change the table content, for example adding characters
to the first content row.

http://du1abadd.org/images/2011/change.png

you need to fix the columns widths. So, press ",,f" and you will gets:

http://du1abadd.org/images/2011/result.png
 
install details
Place plugin in .vim/ftplugin folder.
 

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
rst.vim 1.0 2011-10-19 7.0 Vern Sun Initial upload
ip used for rating: 3.22.70.9

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