From ddb0d9ba6bfcc7acdb3413b16ba652273ff4fac5 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 9 Jan 2024 14:26:32 +0000 Subject: [PATCH] Switch from global-display-line-numbers-mode to only in prog-mode --- README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index d5e12fd..591cebf 100644 --- a/README.org +++ b/README.org @@ -169,12 +169,14 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia truncate-partial-width-windows nil) (menu-bar-mode +1) - (global-display-line-numbers-mode +1) (global-prettify-symbols-mode +1) + (global-display-line-numbers-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) (tab-bar-mode -1) + (add-hook 'prog-mode-hook #'(lambda () (display-line-numbers-mode +1))) + (use-package word-wrap-mode :ensure t :diminish