I know that there's already a question of the same type on here, and I did take a look at it. The thing is, what is suggested there leads to line numbers being displayed right next to the code, with not a single space in between which annoys me a lot. Therefore, I wanted to try a different approach.
I'm trying to use the this code I found on the emacs wiki. I created the line-num.el
file , put it in ~/.emacs.d/plugins
and then modified the ~/.emacs
file as follows:
(add-to-list 'load-path"~/.emacs.d/plugins")
(require 'line-num.el)
But when I start emacs, I don't see any line numbers.