doom-emacs/modules/editor/multiple-cursors
Henrik Lissner ddd3f7564d
refactor!: deprecate IS-* OS constants
BREAKING CHANGE: This deprecates the IS-(MAC|WINDOWS|LINUX|BSD) family
of global constants in favor of a native `featurep` check:

  IS-MAC      ->  (featurep :system 'macos)
  IS-WINDOWS  ->  (featurep :system 'windows)
  IS-LINUX    ->  (featurep :system 'linux)
  IS-BSD      ->  (featurep :system 'bsd)

The constants will stick around until the v3 release so folks can still
use it -- and there are still some modules that use it, but I'll phase
those uses out gradually.

Fix: #7479
2024-05-21 17:16:36 +02:00
..
autoload bump: :editor evil 2024-05-21 17:15:48 +02:00
config.el refactor!: deprecate IS-* OS constants 2024-05-21 17:16:36 +02:00
packages.el bump: :editor multiple-cursors 2024-05-21 17:15:56 +02:00
README.org docs(*): replace all-the-icons with nerd-icons 2024-05-21 17:16:13 +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

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 doom-package: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?