emacs slime:相当于 shell 中的向上箭头吗?
当我在 dos/linux 中输入错误的内容并且它对我大喊大叫时,我可以按向上箭头,然后修改我的行 - 也许它缺少“-”或其他东西。我刚刚安装了 lispbox,向上箭头将光标向上移动到 REPL 历史记录。如何将我输入的最后一行放在当前行上。
就像我输入的那样
+ 3 2
,但显然我的意思是
(+ 3 2)
如何让它说“+ 3 2”,这样我就可以按“Home”,“(”,“End”,“)”?
或者有一些更简单的 Mx waaahFIXIT 命令吗?
When I type something wrong in dos/linux and it yells at me I can push the up arrow and then modify my line - maybe it was missing a '-' or something. I just installed lispbox and up arrow moves the cursor up the REPL history. How do i put on the current line the last line I entered.
So like I type
+ 3 2
But obviously I meant
(+ 3 2)
How do I get it to say "+ 3 2" so I can just push "Home", "(", "End", ")"?
Or is there some MUCH easier M-x waaahFIXIT command for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试
绑定到哪个
默认 。 (Meta 通常是 Alt 键)
Mp / Mn 是在 emacs 中向后/向前浏览历史记录的标准 - 它也适用于迷你缓冲区
Try
which is bound to
by default. (Meta is normally the Alt key)
M-p / M-n is standard for going backwards / forwards through history in emacs - it also works in the minibuffer too