gpt4 book ai didi

emacs - 无法在 Emacs 中通过 C-u 清除行的开头

转载 作者:行者123 更新时间:2023-12-04 16:15:39 27 4
gpt4 key购买 nike

我在 Emacs 中运行以下命令失败

C-u

如何清除 Emacs 中一行的开头?

最佳答案

您也可以通过为 kill-ine(通常是 C-k)使用前缀 arg 来完成此操作。来自 Emacs 帮助 (C-h k C-k):

With zero argument, kills the text before point on the current line.



所以,你可以做
C-u 0 C-k

甚至更好
C-0 C-k

关于emacs - 无法在 Emacs 中通过 C-u 清除行的开头,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/818425/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com