diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-01-04 23:48:33 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-01-04 23:48:33 +0100 |
commit | 8561fa37f998dec3f8b1649b8d60de75aa6edd4d (patch) | |
tree | 550d15cc6aa6159d07e3dcc8e2f140250a38acb9 /.config/emacs/modules/mm-theme.el | |
parent | f93579ccddf3f3f8a5a50280dd2722fee8f71f3d (diff) |
emacs: Configure wdired
Diffstat (limited to '.config/emacs/modules/mm-theme.el')
-rw-r--r-- | .config/emacs/modules/mm-theme.el | 7 |
1 files changed, 6 insertions, 1 deletions
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 |