Skip to content

Instantly share code, notes, and snippets.

@fletch
Last active Aug 29, 2015
Embed
What would you like to do?
helm file source sample
(helm :sources
(helm-build-in-file-source
"dirtest" (expand-file-name "~/.dirs")
:candidate-transformer
(lambda (strs)
(mapcar
(lambda (str)
(destructuring-bind (name dir)
(s-split "=" str)
(cons name dir)))
strs)))
:buffer "*helm test*")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment