I am not sure to understand what you want to do exactly, here what I guess you would
like:
- The buffer "*Helm CIDER REPL History Preview*" is visible and belong
to current candidate:
Kill it unless using follow-mode.
- The buffer "*Helm CIDER REPL History Preview*" is visible and don't
belong to current candidate:
Run `helm-cider-repl--history-preview` to replace buffer contents with
infos belonging to current candidate.
- The buffer "*Helm CIDER REPL History Preview*" is not visible:
Run `helm-cider-repl--history-preview` on current candidate and
display buffer.
See `helm-elisp--persistent-help` and
`helm-buffers-list-persistent-action` among others examples.
--
Thierry