I am asking this after having read this post:
How do I display line numbers in emacs (not in the mode line)?
I have tried using:
M-x linum-mode
and
display-line-numbers-mode
After closing emacs and reopening, they are gone. Is there not a way to have emacs permanently display the line numbers?
~/.emacs
will take precedence if I recall correctly, so make sure you have only one of these files. – Oct 26 '18 at 21:37(global-linum-mode)
for older versions of Emacs. – phils Oct 27 '18 at 09:12