From 8561fa37f998dec3f8b1649b8d60de75aa6edd4d Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 4 Jan 2025 23:48:33 +0100 Subject: emacs: Configure wdired --- .config/emacs/modules/mm-theme.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.config/emacs/modules/mm-theme.el') diff --git a/.config/emacs/modules/mm-theme.el b/.config/emacs/modules/mm-theme.el index f4b9c9a..adb0bf6 100644 --- a/.config/emacs/modules/mm-theme.el +++ b/.config/emacs/modules/mm-theme.el @@ -203,9 +203,14 @@ See also the `mm-theme-background-opacity' variable." ;;; More Intuiative UI for Certain Modes +(defun mm-disable-line-selection-mode () + (line-selection-mode -1)) + (use-package line-selection-mode :hook ((bookmark-bmenu-mode dired-mode ibuffer-mode magit-repolist-mode) - . line-selection-mode)) + . line-selection-mode) + :config + (add-hook wdired-mode-hook #'mm-disable-line-selection-mode)) ;;; Line Highlighting -- cgit v1.2.3