doomemacs / doomemacs

An Emacs framework for the stubborn martian hacker
MIT License
19.39k stars 3.05k forks source link

add flag to multiple-cursors module that uses iedit package #6185

Open edgimar opened 2 years ago

edgimar commented 2 years ago

Describe your request

The iedit package is a simple and robust multiple-cursors option that would be great to include as an option in the multiple-cursors module. It may not have as many features as the other packages, but it is very fast, very reliable, and handles most "normal" use cases that people might encounter.

Briefly explain its use-case

Add an +iedit flag to the multiple-cursors module which uses the iedit package instead of other alternatives. After it is enabled, then the default keybinding could (should?) be set up (the default is C-;) to toggle the mode on/off. This keybinding can be overridden in config.el.

edgimar commented 2 years ago

It looks like C-; is currently the default keybinding for embark-act, so maybe it should not be used for iedit-mode? I don't know if it's better, but perhaps C-' would be an option? (in org-mode, this and C-, are both mapped to org-cycle-agenda-files)