diff options
| author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-30 00:34:16 -0400 |
|---|---|---|
| committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-30 00:34:16 -0400 |
| commit | ab94eb31bd1c833a4d11890d792076c4dbaf32c9 (patch) | |
| tree | 3350fae14617255e6bcd0878030a6cd14f385606 | |
| parent | Implement IJKL movement keybinds (diff) | |
| download | mmosmacs-ab94eb31bd1c833a4d11890d792076c4dbaf32c9.tar.gz mmosmacs-ab94eb31bd1c833a4d11890d792076c4dbaf32c9.tar.bz2 mmosmacs-ab94eb31bd1c833a4d11890d792076c4dbaf32c9.zip | |
Add functionality for multiple cursors
| -rw-r--r-- | init.el | 19 |
1 files changed, 19 insertions, 0 deletions
| @@ -461,6 +461,25 @@ | |||
| 461 | :bind ("M-=" . er/expand-region)) | 461 | :bind ("M-=" . er/expand-region)) |
| 462 | 462 | ||
| 463 | 463 | ||
| 464 | ;; --------------------------------- | ||
| 465 | ;; Multiple cursors | ||
| 466 | ;; ---------------- | ||
| 467 | ;; This allows you to do the same | ||
| 468 | ;; thing in multiple places. | ||
| 469 | ;; --------------------------------- | ||
| 470 | |||
| 471 | (use-package multiple-cursors | ||
| 472 | :straight t | ||
| 473 | :bind (("s-m" . mc/mark-more-like-this-extended)) | ||
| 474 | :config | ||
| 475 | (setq mc/cmds | ||
| 476 | '(electric-pair-delete-pair | ||
| 477 | end-of-visual-line | ||
| 478 | beginning-of-visual-line | ||
| 479 | beginning-of-line-text | ||
| 480 | mm/keyboard-escape-quit-keep-windows))) | ||
| 481 | |||
| 482 | |||
| 464 | 483 | ||
| 465 | 484 | ||
| 466 | ;; --------------------------------------------------------------------- | 485 | ;; --------------------------------------------------------------------- |