mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
Add some Clojure specific settings
Clear REPL with C-l and connect to figwheel when using cljs.
This commit is contained in:
parent
98e12fc1e4
commit
36d227ca34
13
init.org
13
init.org
@ -990,6 +990,19 @@
|
|||||||
(add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
|
(add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
*** Clojure
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(add-hook 'cider-repl-mode-hook (lambda () (local-set-key (kbd "C-l") 'cider-repl-clear-buffer)))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq cider-cljs-lein-repl
|
||||||
|
"(do (require 'figwheel-sidecar.repl-api)
|
||||||
|
(figwheel-sidecar.repl-api/start-figwheel!)
|
||||||
|
(figwheel-sidecar.repl-api/cljs-repl))")
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
*** Common lisp
|
*** Common lisp
|
||||||
|
|
||||||
I use [[http://www.common-lisp.net/project/slime/][Slime]] along with =lisp-mode= to edit Common Lisp code. Slime
|
I use [[http://www.common-lisp.net/project/slime/][Slime]] along with =lisp-mode= to edit Common Lisp code. Slime
|
||||||
|
Loading…
Reference in New Issue
Block a user