How to replace a region in emacs with yank buffer contents?

后端 未结 7 2026
一向
一向 2020-12-24 05:26

When I use VIM or most modeless editors (Eclipse, NetBeans etc.) I frequently do the following. If I have similar text blocks and I need to change them all, I will change on

相关标签:
7条回答
  • 2020-12-24 06:12

    Use delete-selection-mode, so that pasted text replaces the active region.

    Use the secondary selection, to paste the same text over and over, even if you alternately select a new region to replace.

    See http://www.emacswiki.org/emacs/SecondarySelection.

    0 讨论(0)
提交回复
热议问题