aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Driessen <vincent@3rdcloud.com>2014-08-31 08:32:12 +0200
committerVincent Driessen <vincent@3rdcloud.com>2014-08-31 08:32:12 +0200
commit8ce5be8cb1b99bb02fa80f56843f73c72435a7d1 (patch)
tree51b427788f2a610279fbf4d6bbcad0bd07c066f9
parentaa4573f2ca1614eeaab6ae18705ebd3dc7361524 (diff)
parent4dea9e676b124ee235e7573c42a9de8c4d81cee5 (diff)
downloadvim-rst-tables-8ce5be8cb1b99bb02fa80f56843f73c72435a7d1.tar.gz
vim-rst-tables-8ce5be8cb1b99bb02fa80f56843f73c72435a7d1.tar.bz2
vim-rst-tables-8ce5be8cb1b99bb02fa80f56843f73c72435a7d1.zip
Merge pull request #21 from coddingtonbear/master
Adds a note to the readme indicating how to re-flow a table.
-rw-r--r--README.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 42218ce..0673d79 100644
--- a/README.rst
+++ b/README.rst
@@ -23,6 +23,10 @@ Installation
Usage
-----
+
+Creating a new table
+~~~~~~~~~~~~~~~~~~~~
+
1. Open a reStructuredText file
2. Create some kind of table outline::
@@ -53,3 +57,16 @@ Usage
+----------+---------------------------------------------------------+
This is paragraph text *after* the table.
+
+
+Re-flowing an existing table
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Sometimes, you may have a column that contains enough data that your
+table is a little hard to work with. To fix that kind of problem,
+you can define the column width you would prefer, and re-flow your table.
+
+1. Change the number of "==" signs in the top row of your table to match
+ the column widths you would prefer.
+2. Put your cursor somewhere in the table.
+3. Press ``,,f`` to re-flow the table.