use-package multiple-cursors

This commit is contained in:
larstvei 2023-06-12 21:19:06 +02:00
parent 33795cb203
commit 832b887232

View File

@ -207,8 +207,7 @@
(let* ((package--builtins nil) (let* ((package--builtins nil)
(packages (packages
'(multiple-cursors ; Multiple cursors for Emacs '(nano-modeline ; N Λ N O modeline
nano-modeline ; N Λ N O modeline
nano-theme ; N Λ N O theme nano-theme ; N Λ N O theme
nix-mode ; Major mode for editing .nix files nix-mode ; Major mode for editing .nix files
olivetti ; Minor mode for a nice writing environment olivetti ; Minor mode for a nice writing environment
@ -983,6 +982,21 @@
#+end_src #+end_src
* Multiple cursors
I use this /all the time/. Perhaps more than I should?
#+begin_src emacs-lisp
;; Multiple cursors for Emacs
(use-package multiple-cursors
:defer t
:bind (("C-c e" . mc/edit-lines)
("C-c a" . mc/mark-all-like-this)
("C-c n" . mc/mark-next-like-this)))
#+end_src
* Expand region * Expand region
This is neat, and I use it way less than I should. This is neat, and I use it way less than I should.