I'm editing tab separated file with Emacs and csv-mode.el. When the document is open, I can align the columns with M-x csv-align-mode
. How to make it automatically aligned when I open the file?
Both ~/.emacs
and .dir-locals.el
based solutions are fine.
I'm pretty new with Emacs so this might be generic elisp question but I'm not sure.