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.
当我在 dos/linux 中输入错误并且它对我大喊大叫时,我可以按向上箭头然后修改我的行 - 也许它缺少一个“-”或其他东西。我刚刚安装了 lispbox,向上箭头将光标向上移动到 REPL 历史记录。我如何将我输入的最后一行放在当前行上。
所以就像我打字一样
+ 3 2
但显然我的意思是
(+ 3 2)
我如何让它说“+ 3 2”,这样我就可以按“Home”、“(”、“End”、“)”?
或者有一些更简单的 Mx waaahFIXIT 命令吗?
尝试
(slime-repl-previous-input)
这是必然的
M-p
默认情况下。(Meta 通常是 Alt 键)
Mp / Mn 是在 emacs 中向后/向前浏览历史的标准 - 它也适用于 minibuffer