doomemacs/modules/editor/multiple-cursors
Henrik Lissner ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
..
autoload refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
config.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
packages.el refactor: deprecate featurep! for modulep! 2022-08-14 20:43:35 +02:00
README.org revert: fix(docs): set mode in file-local vars 2022-08-07 19:08:07 +02:00

:editor multiple-cursors

Description   unfold

This module adds a multiple cursors implementation to Emacs (two, if you use evil) that loosely take after multi-cursors in Atom or Sublime Text.

Module flags

This module has no flags.

Hacks

  • Attempts to smooth over multiple-cursors' incompatibilities with evil, which is used internally in some third party plugins.
  • Attempts to smooth over evil-mc's incompatibilities with other packages, like lispy.

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module has no external requirements.

TODO Usage

🔨 This module's usage documentation is incomplete. Complete it?

evil-mc

  • The evil-mc keys are under the gz prefix, e.g.

    • gzz to toggle new (frozen) cursors at point.
    • gzt to toggle mirroring on and off (or switch to insert mode to activate them).
    • gzA to place cursors at the end of each selected line.
    • gzI will place them at the beginning.
  • There's also the ex command :mc/REGEXP/FLAGS, for laying down cursors by regex.

evil-multiedit

Designates "interactive edit" regions. Only the textual changes to them are mirrored.

  • M-d to iedit the symbol at point. Again to iedit its next match.
  • M-S-d to do it backwards.
  • R (in visual mode) to iedit all matches of the selection at point in the buffer.
  • Or :iedit/REGEX to iedit all matches of REGEX.

TODO Configuration

🔨 This module has no configuration documentation yet. Write some?

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

Appendix

🔨 This module has no appendix yet. Write one?