Skip to content

Instantly share code, notes, and snippets.

@rcullito
Created June 5, 2018 18:03
Show Gist options
  • Save rcullito/8947ab74fe79cd0984de2b4d7b2dda42 to your computer and use it in GitHub Desktop.
Save rcullito/8947ab74fe79cd0984de2b4d7b2dda42 to your computer and use it in GitHub Desktop.
(defun custom-cider-jack-in ()
(interactive)
(let ((status-desktop-params "with-profile +figwheel repl"))
(set-variable 'cider-lein-parameters status-desktop-params)
(message "setting 'cider-lein-parameters")
(cider-jack-in)))
(defun start-figwheel-cljs-repl ()
(interactive)
(set-buffer "*cider-repl status-react*")
(goto-char (point-max))
(insert "(do (use 'figwheel-api)
(start)
(start-cljs-repl))")
(cider-repl-return))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment