.emacs.d

the most bloated Emacs config on this planet
git clone https://git.trogloxene.org/.emacs.d.git
Log | Files | Refs

commit b292052c53132080e63a59840ed912ac4a91b794
parent 7a1f6aa89785be5f8c5b958270812535f4e5ba81
Author: andsy10 <andsy1016@gmail.com>
Date:   Mon, 14 Sep 2026 08:05:19 +0800

Remove multiple-cursors and hydra

Diffstat:
Mlisp/init-edit.el | 22----------------------
Mlisp/init-kbd.el | 6------
Mlisp/init-package.el | 32--------------------------------
3 files changed, 0 insertions(+), 60 deletions(-)

diff --git a/lisp/init-edit.el b/lisp/init-edit.el @@ -23,28 +23,6 @@ :hook (after-init . global-subword-mode)) -;; multiple cursors -(use-package multiple-cursors - :custom - (mc/insert-numbers-default 1) - (mc/always-run-for-all t) - :init - (setq mc/cmds-to-run-once - '(god-mode-all - hydra-multiple-cursors/body - hydra-multiple-cursors/mc/edit-lines - hydra-multiple-cursors/mc/insert-numbers - hydra-multiple-cursors/mc/mark-all-dwim - hydra-multiple-cursors/mc/mark-next-like-this - hydra-multiple-cursors/mc/mark-next-like-this-symbol - hydra-multiple-cursors/mc/mark-next-like-this-word - hydra-multiple-cursors/mc/mark-previous-like-this - hydra-multiple-cursors/mc/mark-previous-like-this-symbol - hydra-multiple-cursors/mc/mark-previous-like-this-word - hydra-multiple-cursors/mc/unmark-next-like-this - hydra-multiple-cursors/mc/unmark-previous-like-this - hydra-multiple-cursors/nil))) - ;; hungry-delete (use-package hungry-delete) diff --git a/lisp/init-kbd.el b/lisp/init-kbd.el @@ -313,10 +313,6 @@ "h A" #'my-persp-set-marked-ibuffers "h a" #'my-persp-add-marked-ibuffers) -;; multiple-cursor -(general-def mc/keymap - "<return>" #'newline) - ;; emms (general-def emms-playlist-mode-map "<prior>" #'emms-previous @@ -387,8 +383,6 @@ "C-M-SPC" #'er/mark-symbol "M-@" #'er/mark-word "C-c e" #'er/expand-region - "C-c c" #'hydra-multiple-cursors/body - "C-S-<mouse-1>" #'mc/add-cursor-on-click "C-c k" #'comment-kill "M-z" #'avy-zap-to-char-dwim "M-Z" #'avy-zap-up-to-char-dwim diff --git a/lisp/init-package.el b/lisp/init-package.el @@ -7,38 +7,6 @@ ;; keycast (use-package keycast) -;; hydra -(use-package hydra - :config - ;; multiple-cursors hydra - (defhydra hydra-multiple-cursors () - " - ^Mark^ ^Unmark^ ^Other^ ------------------------------------------------------------------- -_p_ : prev line _P_ : previous _c_ : edit lines -_n_ : next line _N_ : next _._ : pop -_b_ : prev word _q_ : quit -_f_ : next word _i_ : insert numbers -_B_ : prev symbol -_F_ : next symbol -_s_ : in region -_a_ : all dwim -" - ("p" mc/mark-previous-like-this) - ("n" mc/mark-next-like-this) - ("b" mc/mark-previous-like-this-word) - ("f" mc/mark-next-like-this-word) - ("B" mc/mark-previous-like-this-symbol) - ("F" mc/mark-next-like-this-symbol) - ("P" mc/unmark-previous-like-this) - ("N" mc/unmark-next-like-this) - ("a" mc/mark-all-dwim) - ("s" mc/mark-all-in-region) - ("c" mc/edit-lines) - ("i" mc/insert-numbers) - ("." mc/mark-pop) - ("q" nil))) - ;; spell checker (unless *is-windows* (use-package jinx