0

How can I make the column with the line numbers wider?

enter image description here

1 Answer 1

1

You can change the appearance of linum-mode by setting values for linum-format.

Add something like this to your .emacs file :- (setq linum-format "%3s") [to have your linum-mode numbers be at least 3 characters wide].

2
  • that worked but since the text is right-justified i still can't see all the numbers.. that is, there's more space to the left of the numbers. any ideas? & thanks!
    – ari gold
    Commented Mar 7, 2022 at 20:19
  • ahHA! i just added a space to the format: (setq linum-format "%3s ")
    – ari gold
    Commented Mar 7, 2022 at 20:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.