all repos — nixfiles @ 644172e81b7a484a520cf07a43ae6f4f726861db

System and user configuration, managed by nix and home-manager

emacs: always show four-digit line-numbers
Alan Pearce alan@alanpearce.eu
Sun, 02 Apr 2023 20:21:54 +0200
commit

644172e81b7a484a520cf07a43ae6f4f726861db

parent

c56b6b73136001836127876c5de716bab4a3a7ee

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -128,7 +128,8 @@ (add-to-list 'default-frame-alist '(width . 100))
 (add-to-list 'default-frame-alist '(height . 40))
 (setq-default display-line-numbers 'relative
-              display-line-numbers-widen t)
+              display-line-numbers-widen t
+              display-line-numbers-width 4)
 (setq frame-resize-pixelwise t)
 
 (defun noct-relative ()