From ab94eb31bd1c833a4d11890d792076c4dbaf32c9 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Tue, 30 May 2023 00:34:16 -0400 Subject: Add functionality for multiple cursors --- init.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index ced54c0..2cc248d 100644 --- a/init.el +++ b/init.el @@ -461,6 +461,25 @@ :bind ("M-=" . er/expand-region)) +;; --------------------------------- +;; Multiple cursors +;; ---------------- +;; This allows you to do the same +;; thing in multiple places. +;; --------------------------------- + +(use-package multiple-cursors + :straight t + :bind (("s-m" . mc/mark-more-like-this-extended)) + :config + (setq mc/cmds + '(electric-pair-delete-pair + end-of-visual-line + beginning-of-visual-line + beginning-of-line-text + mm/keyboard-escape-quit-keep-windows))) + + ;; --------------------------------------------------------------------- -- cgit v1.2.3