Which editors out of Emacs, Vim and JEdit support multiple simultaneous text insertion points?

后端 未结 10 2145
心在旅途
心在旅途 2021-02-12 12:06

Background: JEdit (and some other text editors as well) support a feature called Multiple simultaneous text insertion points. (at least that\'s what I\'m callin

10条回答
  •  闹比i
    闹比i (楼主)
    2021-02-12 13:05

    moccur-edit.el almost does what you want. All the locations matching the regexp are displayed, and the editing the matches makes changes in the corresponding source. However, the editing is done on a single instance of the occurrence.

    I imagine it'd be straight forward to extend it to allow you to edit them all simultaneously (at least in the simple case).

    There is a demo of it found here.

    Turns out, the newest versions of moccur-edit don't apply changes in real-time - you must apply the changes. The changes are also now undoable (nice win).

提交回复
热议问题