我在 Ubuntu 上处于终端模式,我正在运行 emacs 并打开 2 个缓冲区,一个是 ruby 文件,另一个是 shell(通过键入 Mx shell 打开),当我切换到 shell 缓冲区时,我想要运行我之前运行的相同命令。我通常只会在终端窗口中点击向上箭头,但在 emacs 中,它只是将光标放在一行上。
有谁知道从 emacs shell 中运行上一个 shell 命令的击键?
shell emacs ubuntu
emacs ×1
shell ×1
ubuntu ×1