Emacs缓冲区复制单笔划

时间:2014-03-10 22:50:00

标签: emacs

假设我专注于BrokerSyncMasteredRecord.cc。我想快速将BrokerSyncMasteredRecord.cc复制到左边一行(就像一些热键)。图2中的最终状态。目前,我只能使用C-x b并键入缓冲区名称的几个字符。这很慢。

注意:这不应该是另一个打开的副本缓冲区(例如,BrokerSyncMasteredRecord.cc [replicated],你知道我的意思,如果你是一个emacs用户)但完全相同的缓冲区,只显示在两个不同的窗口

1 个答案:

答案 0 :(得分:0)

我将为您引用Emacs教程( f1 t ):

* MULTIPLE WINDOWS
------------------

One of the nice features of Emacs is that you can display more than
one window on the screen at the same time.  (Note that Emacs uses the
term "frames"--described in the next section--for what some other
applications call "windows".  The Emacs manual contains a Glossary of
Emacs terms.)

>> Move the cursor to this line and type C-l C-l.

>> Now type C-x 2 which splits the screen into two windows.
   Both windows display this tutorial.  The editing cursor stays in
   the top window.

这个基本教程只有1000行,几乎小到可以用作capcha 询问有关Emacs的问题:)