dhruvasagar / vim-table-mode

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

[Enhancement] Add row- and column-wise editing #153

Open sbliven opened 5 years ago

sbliven commented 5 years ago

I would love to see some commands in table mode to rearrange rows/columns.

dhruvasagar commented 4 years ago

@sbliven At the time of this writing we already have the ability to delete rows / columns and insert columns. I think it should be valuable to introduce text objects that represent a row / column and that should enable us to build extensions for the requested features.

sbliven commented 4 years ago

Nice! This makes column manipulation possible. It might still be nice to have single commands for some of these to speed up the workflow.

Some sequences:

As an aside, I prefer \tac and \tic for inserting columns after and before the current cursor, for consistency with a and i.