summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLoyderino <adrijan.bjedov@gmail.com>2025-08-01 22:55:19 +0200
committerLLoyderino <adrijan.bjedov@gmail.com>2025-08-01 22:55:19 +0200
commit2b291e1666fbe1aa761b698f9b1c90b3d614a986 (patch)
tree2581244b671a62f2e83a530b8a9334e755728a0b
parent514aa7b3faadfc3bee76d57891be77b691412772 (diff)
Added multi-cursor functionality
-rw-r--r--init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.el b/init.el
index b44f117..d6d2281 100644
--- a/init.el
+++ b/init.el
@@ -40,6 +40,15 @@
(setq scroll-conservatively 5 ; Smooth scrolling~
scroll-margin 5) ; https://themkat.net/2025/03/25/simple_smoother_emacs_scrolling.html
+
+;; Multiple-cursors
+(use-package multiple-cursors
+ :bind
+ ("C-S-c C-S-c" . mc/edit-lines)
+ ("C->" . mc/mark-next-like-this)
+ ("C-<" . mc/mark-previous-like-this)
+ ("C-c C-<" . mc/mark-all-like-this))
+
;; Org & Agenda
(global-set-key (kbd "C-c l") #'org-store-link)
(global-set-key (kbd "C-c a") #'org-agenda)