dhruvasagar / vim-table-mode

VIM Table Mode for instant table creation.
2.1k stars 97 forks source link

new line with `||` does not work any more #221

Closed LuisBL closed 2 years ago

LuisBL commented 2 years ago
| name | address | phone |
                                          ^

if we type ENTER

in Insert mode

| name | address | phone |
                          ^
| name | address | phone |
                          ^

if we type ENTER we get:

+------+---------+-------+
|      |         |     ^ |
| name | address | phone |
+------+---------+-------+

No way to add || in an new line because no way to go to the new line

dhruvasagar commented 2 years ago

@LuisBL I am not sure what you mean, if you type | | on the next row it will add a new empty cell. If you add || (without a space) it will add a border line.

LuisBL commented 2 years ago

Sorry my bad I was expecting || put my cursor on a new line. My bad.

thank you so much for this wonderfull code !