diff options
| -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 | ;; --------------------------------------------------------------------- |