diff --git a/CHANGELOG.md b/CHANGELOG.md index fa98be1..475cd42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Change Log +## Version 4.3.0 +* Refactored some more +* Fixed issue #19, hiphens in the table broke alignment +* Added feature #26, you can now define column alignments in the table header + ## Version 4.2.0 * Refactored cells logic out to autoload/tablemode/spreadsheet/cell.vim * Refactored formula logic out to autoload/tablemode/spreadsheet/formula.vim diff --git a/README.md b/README.md index dbba7b6..6ccf1ee 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# VIM Table Mode v4.2.0 [![Build Status](https://travis-ci.org/dhruvasagar/vim-table-mode.png?branch=master)](https://travis-ci.org/dhruvasagar/vim-table-mode) +# VIM Table Mode v4.3.0 [![Build Status](https://travis-ci.org/dhruvasagar/vim-table-mode.png?branch=master)](https://travis-ci.org/dhruvasagar/vim-table-mode) An awesome automatic table creator & formatter allowing one to create neat tables as you type. diff --git a/doc/table-mode.txt b/doc/table-mode.txt index f442fe0..da7c7ac 100644 --- a/doc/table-mode.txt +++ b/doc/table-mode.txt @@ -1,7 +1,7 @@ -*table-mode.txt* Table Mode for easy table formatting. v4.2.0 +*table-mode.txt* Table Mode for easy table formatting. v4.3.0 =============================================================================== Table Mode, THE AWESOME AUTOMATIC TABLE CREATOR & FORMATTER - VERSION 4.2.0 + VERSION 4.3.0 Author: Dhruva Sagar License: MIT @@ -34,6 +34,11 @@ Create Table on the fly: each additional separator you add, it aligns the table properly, without having to do anything else. + Table Mode now supports gfm style tables and allows to define column + alignments with the aid of placing ':' (configured using + |g:table_mode_align_char|) on the table header border appropriately to + align content left or right. + The table mode is disabled by default and you can enter table mode using |table-mode-toggle-map| or you can also enable it permanently using |table-mode-always-active| if you wish though not recommended. @@ -139,6 +144,10 @@ Overview: |table-mode-delimiter| .......... Set the delimiter for Tableize. |table-mode-corner-corner| ...... Set the character to be used for extreme corners of the table border. + |table-mode-align-char|.......... Set the alignment character which + can be added to the table header + border to control alignment of that + column. g:loaded_table_mode *table-mode-loaded* Use this option to disable the plugin: > @@ -196,6 +205,11 @@ g:table_mode_corner_corner *table-mode-corner-corner* corners of the table border. > let g:table_mode_corner_corner = '|' < +g:table_mode_align_char *table-mode-align-char* + Use this option to define the character to be used for defining + alignments for columns in the table header border. > + let g:table_mode_align_char = ':' +< =============================================================================== MAPPINGS *table-mode-mappings*