how can one browse through previous form evaluation results in Fireplace? E.g., if two forms
(meta #'str)
(meta #'use)
are subsequently evaluated with cpp command, is there a possibility to have a glance at the output of these two evaluations in a Vim buffer or some sort of quickfix list?
Thanks!
Such is the way with fireplace.vim. By the way, this plugin is for Clojure. First, set up cider-nrepl. (If you skip this step, only a subset of functionality will be available.) Install Fireplace using your favorite package manager, or use Vim's built-in package support: You might also want salve.vim for assorted static project support.
No +eval feature no-eval-feature evaluation commands are available. To prevent this from causing Vim scripts and the matching ":endif" is ignored. Nesting of ":if" blocks is allowed, but only if the commands are at the start of the line. The ":else" command is not recognized. two ways.
Examples eval-examples :" The function Nr2Bin () returns the binary string representation of a number. :" binary string, separated with dashes. : let out = out .. '-' .. Nr2Bin (char2nr (a:str [ix])) This example sorts lines with a specific compare function. There is no sscanf () function in Vim. If you need to extract parts from a
Vim script version vimscript-version 11. No +eval feature no-eval-feature 12. The sandbox eval-sandbox 13. Textlock textlock Testing support is documented in testing.txt. Profiling is documented at profiling. 1. Variables variables
You can use :Last
to get the last evaluated value and :2Last
for the one before that and so on. From the official documentation (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|.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With