在Vim Fireplace插件中浏览eval结果

5
如何在Fireplace中浏览以前的表单评估结果?例如,如果有两个表单。
(meta #'str)
(meta #'use)

在使用cpp命令进行评估后,是否有可能在Vim缓冲区或某种快速修复列表中查看这两个评估的输出?

谢谢!

1个回答

10
您可以使用: Last获取最后一个求值的值,使用: 2Last 获取前一个,并依此类推。来自官方文档(https://github.com/tpope/vim-fireplace/blob/master/doc/fireplace.txt):
                                        *fireplace-:Last*
:Last           Open the result of the last evaluation in the preview
                window.  Use :2Last to get the next-to-last result,
                and so on.  Once the window is open, cycle to older
                and newer entries with |:lprevious| and |:lnext|.

这正是我正在寻找的!谢谢! - siphiuel

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接