This repository contains a minor mode for emacs editing, lsp-mc
. The minor mode should be activated with lsp-mode, and implements a function for using multiple-cursors on highlighted text. This can be much more useful than just searching and replacing raw text, and is lightning fast to activate, requiring a single keystroke.
The easiest way to install right now is with straight.el
(straight-use-package
'(lsp-mc :type git :host github :repo "jsigman/lsp-mc"))
(require 'lsp-mc)
(add-hook 'lsp-mode-hook 'lsp-mc-mode)
By default, lsp-mc-/mark-all-highlighted
is bound to M-S
This is very similar in ways to lsp-iedit.el. I find multiple-cursors
to be more intuitive and pleasing to use than iedit
.
Thanks to yyoncho for providing some basics for this function