From 4d2b25a94654861724ce96d03f06291f00f91892 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Sat, 6 May 2023 14:36:43 -0400 Subject: Disable line numbers in `org` buffers --- init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index becb3fc..909e567 100644 --- a/init.el +++ b/init.el @@ -224,9 +224,14 @@ ;; It helps to know where you are ;; --------------------------------- +;; Display line/column numbers (column-number-mode) (global-display-line-numbers-mode t) +;; Disable line numbers in specific modes +(dolist (mode '(org-mode-hook)) + (add-hook mode (lambda () (display-line-numbers-mode 0)))) + ;; --------------------------------- ;; Highlight stuff -- cgit v1.2.3