1

Let's say you are about to type something that you know you want to kill-yank later. For example, say we need to repeat the following 10 times:

grid.addValue([some variable])

Currently, before I start typing, I can press C-<spc> C-<spc> to activate then deactivate the mark at the beginning of the text. Then, once I finish typing grid.addValue(), I can press C-x C-x twice to go back to the original mark, then back to the end of the text with the text highlighted.

My question: is there a way to set the mark and highlight as I type, so when I am done with the phrase I can immediately copy and yank it a bunch of times?

4

1 回答 1

3

只需设置标记,键入,然后照常复制/杀死。

该区域(即点和标记之间的任何区域)未突出显示,但仍然可用。

于 2012-11-12T01:06:16.810 回答