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

后端 未结 10 2148
心在旅途
心在旅途 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条回答
  •  执笔经年
    2021-02-12 12:58

    Another slight similarity: In Emacs, the rectangle editing features provided by cua-selection-mode (or cua-mode) automatically gives you multiple insertion points down the left or right edge of the marked rectangle, so that you can type a common prefix or suffix to all of those lines.

    e.g.:
    M-x cua-selection-mode RET (enable the global minor mode, if you don't already use this or cua-mode)
    C-RET down down down (marks a 1x3 character rectangle)
    type prefix here
    C-RET (unmark the rectangle to return to normal editing)

提交回复
热议问题