From 73d71c7a6c17d9649076a6bdddf9295f3cf71ac7 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 1 Dec 2024 11:24:12 +0100 Subject: emacs: Don’t center the screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/modules/mm-editing.el | 13 +++++++------ .config/emacs/modules/mm-keybindings.el | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to '.config/emacs') diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el index 910a80d..911a2a0 100644 --- a/.config/emacs/modules/mm-editing.el +++ b/.config/emacs/modules/mm-editing.el @@ -30,12 +30,13 @@ ;;; Recenter The Screen When Jumping -(dolist (command #'(backward-page - backward-paragraph - forward-page - forward-paragraph - pop-global-mark)) - (advice-add command :around #'mm-do-and-center)) +(mm-comment + (dolist (command #'(backward-page + backward-paragraph + forward-page + forward-paragraph + pop-global-mark)) + (advice-add command :around #'mm-do-and-center))) ;;; Indentation Settings diff --git a/.config/emacs/modules/mm-keybindings.el b/.config/emacs/modules/mm-keybindings.el index 42d2bfb..9917ab8 100644 --- a/.config/emacs/modules/mm-keybindings.el +++ b/.config/emacs/modules/mm-keybindings.el @@ -104,8 +104,8 @@ the first command is remapped to the second command." ;;; Bind Commands Globally (mm-keymap-set global-map - "" #'e/scroll-up - "" #'e/scroll-down + ;; "" #'e/scroll-up + ;; "" #'e/scroll-down "C-" #'forward-page "C-" #'backward-page -- cgit v1.2.3