diff --git a/config.org b/config.org index 6803a61..093b32f 100644 --- a/config.org +++ b/config.org @@ -551,6 +551,22 @@ To be fair, I didn't test this in a while... ) #+END_SRC +* Mutliple cursors + +https://github.com/magnars/multiple-cursors.el + +#+BEGIN_SRC emacs-lisp +(use-package multiple-cursors + :ensure t + :bind + ("C-x r a" . mc/edit-lines) + ("C-x r e" . mc/edit-ends-of-lines) + ("C->" . mc/mark-next-like-this) + ("C-<" . mc/mark-previous-like-this) + ("C-c C->" . mc/mark-all-like-this) +) +#+END_SRC + * Old stuff, maybe usefull for lookup later ** Diff mode stuff diff --git a/custom/setup-cursors.el b/custom/setup-cursors.el deleted file mode 100644 index d5a1aca..0000000 --- a/custom/setup-cursors.el +++ /dev/null @@ -1,10 +0,0 @@ -(require 'multiple-cursors) - -(global-set-key (kbd "C-x r a") 'mc/edit-lines) -(global-set-key (kbd "C-x r e") 'mc/edit-ends-of-lines) - -(global-set-key (kbd "C->") 'mc/mark-next-like-this) -(global-set-key (kbd "C-<") 'mc/mark-previous-like-this) -(global-set-key (kbd "C-c C->") 'mc/mark-all-like-this) - -(provide 'setup-cursors)