Numbering Org Table Rows

Álvaro Ramírez tweeted a handy tip that I used to know about but had forgotten:

Lots of tables need a row number and using this tip it’s easy to add them when you’ve finished making the table rather than putting them in as you go along. That’s especially handy if you decide to reorder the rows.

Normally mc/insert-numbers will start the numbering at 0 but you can change that with a prefix argument. Long ago I mapped that function to Hyper+~ but I like the way Ramírez maps it to # in the region-bindings-mode-map. That makes it much more intuitive and easy to remember. Maybe if I’d done that to begin with, I wouldn’t have forgotten about it.

This entry was posted in General and tagged , . Bookmark the permalink.