From 97bc04e3add8c1299136b4f52d6cdf2109ca0c42 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 15 Oct 2024 17:32:33 -0700 Subject: [PATCH] Make proced mode truncate lines --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index a8c1b33..f9bd5b6 100644 --- a/init.el +++ b/init.el @@ -1648,7 +1648,11 @@ If no name is given, list all bookmarks instead." :bind ("C-x j" . proced) :init (setq proced-auto-update-flag t - proced-auto-update-interval 1)) + proced-auto-update-interval 1) + (defun my/-setup-proced-mode () + (visual-line-mode -1) + (setq-local truncate-lines t)) + (add-hook 'proced-mode-hook 'my/-setup-proced-mode)) ;; dired (use-package dired