Open sbliven opened 5 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.
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:
dd
or\tdd
; move to new location; yank yy
\tic
; select old column in block visual mode C-V
and yank y
; paste in empty column p
; delete old column \tdc
As an aside, I prefer \tac
and \tic
for inserting columns after and before the current cursor, for consistency with a
and i
.
I would love to see some commands in table mode to rearrange rows/columns.