visidata-plugins icon indicating copy to clipboard operation
visidata-plugins copied to clipboard

[Feature Request] Add ability to rename columns/w Undo from the ColumnSheet

Open frosencrantz opened this issue 3 years ago • 2 comments

Context: https://github.com/saulpw/visidata/discussions/1134

Visidata now has a clean_names options which is similar to the normcol plugin. In the thread, Saul points out a way to revert the column renames after doing some work on a sheet. This would be a useful feature for this plugin.

frosencrantz avatar Oct 17 '21 23:10 frosencrantz

Thanks for the note, @frosencrantz — I can see that being useful. Not sure when I'll have the time to implement/test/etc., but it's now on my list. I suppose it'll need a longname. The current main command is normalize-col-names, so the reversion might be revert-normalize-col-names or undo-normalize-col-names?

jsvine avatar Oct 19 '21 02:10 jsvine

I don't have a strong opinion, but between those undo-normalize-col-names seems more consistent with the general undo commands.

frosencrantz avatar Oct 31 '21 15:10 frosencrantz