Org mode table, show different background on current row, or, alternate even/odd org rows

1.5k Views Asked by At

On wider tables in org mode, it is hard to see the current line.

In emacs org mode table, is there a way to display different background for the current row, or alternate background for even/odd rows?

(I am not concerned with export, although if the even/odd alternate background would export that would be great as well)

Thanks

2

There are 2 best solutions below

2
fniessen On BEST ANSWER

Not that I know of, but (when editing) you can use M-x hl-line-mode to clearly see the current row highlighted.

0
glucas On

The package stripe-buffer provides stripe-table-mode which provides odd/even row highlighting for org tables. (It also gives you stripe-listify-buffer which provides similar row highlighting for any list-style buffer like dired, ibuffer, etc.)