How to edit multiple locations simultaneously in Vim

后端 未结 6 798
悲&欢浪女
悲&欢浪女 2021-02-04 14:06

In certain text editors, like E, I can select multiple locations and, as I type, all the selected locations get replaced with the characters I am typing.

For example i

6条回答
  •  北海茫月
    2021-02-04 14:32

    Have a look at SnippetsEmu. It should be doing something very similar to what you need.

    It emulates TextMates snippets. You should be able to have one snippet with the same tag repeated, and editing will do the right thing, updating the same tag in all locations, as you type.

提交回复
热议问题