From ae68d77b9761e41a50e820e95ff4c489c7c994cc Mon Sep 17 00:00:00 2001
From: Vedang Manerikar <ved.manerikar@gmail.com>
Date: Wed, 18 Dec 2024 14:22:32 +0530
Subject: [PATCH] Add an explicit section for multiple-cursors

So that I can bind keys to functions from it.
---
 unravel-emacs.org                | 16 ++++++++++++++++
 unravel-modules/unravel-langs.el |  7 +++++++
 2 files changed, 23 insertions(+)

diff --git a/unravel-emacs.org b/unravel-emacs.org
index 084b0f0..f4be864 100644
--- a/unravel-emacs.org
+++ b/unravel-emacs.org
@@ -194,6 +194,7 @@ be updated accordingly.
   - [[#the-unravel-langsel-settings-for-dictionary][The =unravel-langs.el= settings for ~dictionary~]]
   - [[#the-unravel-langsel-settings-for-paredit-paren-matching][The =unravel-langs.el= settings for ~paredit~ (paren matching)]]
   - [[#the-unravel-langsel-settings-for-apheleia-code-formatting][The =unravel-langs.el= settings for ~apheleia~ (code formatting)]]
+  - [[#the-unravel-langsel-settings-for-multiple-cursors][The =unravel-langs.el= settings for ~multiple-cursors~]]
   - [[#the-unravel-langsel-section-for-python][The =unravel-langs.el= section for Python]]
   - [[#the-unravel-langsel-section-for-ziglang][The =unravel-langs.el= section for Ziglang]]
   - [[#the-unravel-langsel-section-for-clojure][The =unravel-langs.el= section for Clojure]]
@@ -5230,6 +5231,21 @@ Use the entry point ~M-x dictionary-search~
       (push '(zprint . ("zprint")) apheleia-formatters)))
 #+end_src
 
+** The =unravel-langs.el= settings for ~multiple-cursors~
+:PROPERTIES:
+:CUSTOM_ID: h:07712014-B63C-429E-8D81-2D0E21E04ECC
+:CREATED:  [2024-12-18 Wed 14:13]
+:END:
+
+#+begin_src emacs-lisp :tangle "unravel-modules/unravel-langs.el"
+  (use-package multiple-cursors
+    :ensure t
+    :bind
+    ("C->" . mc/mark-next-like-this)
+    ("C-<" . mc/mark-previous-like-this)
+    ("C-c C->" . mc/mark-all-like-this))
+#+end_src
+
 ** The =unravel-langs.el= section for Python
 :PROPERTIES:
 :CUSTOM_ID: h:EA5EA223-F97D-4EE9-8663-99822A037618
diff --git a/unravel-modules/unravel-langs.el b/unravel-modules/unravel-langs.el
index 7c27ce4..d40172b 100644
--- a/unravel-modules/unravel-langs.el
+++ b/unravel-modules/unravel-langs.el
@@ -154,6 +154,13 @@
   (with-eval-after-load 'apheleia-formatters
     (push '(zprint . ("zprint")) apheleia-formatters)))
 
+(use-package multiple-cursors
+  :ensure t
+  :bind
+  ("C->" . mc/mark-next-like-this)
+  ("C-<" . mc/mark-previous-like-this)
+  ("C-c C->" . mc/mark-all-like-this))
+
 ;;;; Configuration for Python Programming
 
 (use-package python