浏览eval会导致Vim Fireplace插件

sip*_*uel 4 vim clojure

如何在Fireplace中浏览以前的表单评估结果?例如,如果有两种形式

(meta #'str)
(meta #'use)
Run Code Online (Sandbox Code Playgroud)

随后使用cpp命令进行评估,是否有可能在Vim缓冲区或某种quickfix列表中浏览这两个评估的输出?

谢谢!

pon*_*zao 9

您可以使用: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|.
Run Code Online (Sandbox Code Playgroud)