I use a standard org-mode table to store a lot of my own personal data. However, the tables have gotten quite large.
I need a way to have the top row stay visible.
Can I set this with
header-line-format or something similar?
This question on stackoverflow has two suggestions, including using elisp to set the header-line-format to the first line of the table.
It also suggests splitting the window horizontally and keeping the header in the upper window as a hackish workaround.
To use the code, add it to org-mode-hook as follows
(add-hook 'org-mode-hook (lambda() (setq-local header-line-format (list '(:eval (save-excursion (org-table-goto-line 1) (substring (thing-at-point 'line t) 0 -1)))))))