Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在学习在 Emacs 中导航/编辑的基础知识,我很好奇如何完成以下任务:
假设我想重复五次以生成“bla bla bla bla bla”。我试过了...
C-u 5 bla
...但命令在输入“b”后执行,我只得到“bbbbb”。
我敢肯定有一些基本的命令可以在这里帮助我......有人会善意地启发我:)吗?
一种方法是通过键盘宏:
C-x (布拉C-x)C-u4C-xe
您也可以在宏终止之前插入重复计数:
C-x (布拉C-u5C-x)
您可以使用键盘宏来做到这一点:f3blaM-5 f4.
bla
交替M-5 f4只是f4 一堆时间。