doomemacs/modules/editor/multiple-cursors
Henrik Lissner e77a45bc22
docs: use lowercase keywords
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
..
autoload Add eval-and-replace support to evil-mc 2020-08-02 18:11:45 -04:00
config.el fix(multiple-cursors): references to removed keymaps 2021-11-21 03:46:45 +01:00
packages.el bump: :editor multiple-cursors 2021-11-21 17:51:24 +01:00
README.org docs: use lowercase keywords 2022-08-02 16:23:43 +02:00

:editor multiple-cursors

Back to module index ! Issues ↖ Github ± Suggest edits ? Help


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?