dhruvasagar / vim-table-mode

VIM Table Mode for instant table creation.
2.11k stars 96 forks source link

[Enhancement] Wrap cell content to predefined width #178

Open cpkio opened 4 years ago

cpkio commented 4 years ago

I've looked around and found no plugin to wrap cell contents to some predefined length preserving the table column, so that long lines like

+-----------+----------------------------------------------+
| Some text | The quick brown fox jumps over the lazy dog. |
+-----------+----------------------------------------------+

would turn to

+-----------+-----------------+
| Some text | The quick brown |
|           | fox jumps over  |
|           | the lazy dog.   |
+-----------+-----------------+

Hope you could enhance your plugin with such feature.

AceofSpades5757 commented 4 years ago

I tried a plugin one time that did something like that, but it didn't work very well and I can't remember what it was called.

A quick web search showed this one, but I'm not sure if it's relevant or not.

Vim RST Tables

Grid Tables, like the ones in Restructured Text would be cool too, and I think relevant to this.

Sphynx Docs - Grid Tables

varac commented 3 years ago

This would be an awesome feature, I'm working on a table with lots of text in, which screws up the formatting badly.

mdforti commented 1 year ago

I would like to vote for this feature too!