A major mode for the Pixie programming language built on top of clojure-mode and providing sane defaults for REPL interaction via inf-clojure.
Available via MELPA through package.el
. Install with:
M-x package-install [RET] pixie-mode [RET]
If you want to interact with the REPL, then ensure that pixie-vm is on your path and add this line to your emacs configuration:
(add-hook 'pixie-mode-hook #'inf-clojure-minor-mode)
Use M-x inf-clojure
or C-c C-z
within a Pixie source file, as you
would if you were to use inf-clojure with Clojure.
The following commands from inf-clojure work in pixie-mode:
Keyboard Shortcut | Command |
---|---|
C-x C-e | inf-clojure-eval-last-sexpr |
M-C-x | inf-clojure-eval-defun |
C-x C-e | inf-clojure-eval-last-sexp |
C-c C-e | inf-clojure-eval-defun |
C-c C-r | inf-clojure-eval-region |
C-c C-n | inf-clojure-eval-form-and-next |
C-c C-p | inf-clojure-eval-paragraph |
C-c C-z | inf-clojure-switch-to-repl |
C-c C-l | inf-clojure-load-file |
C-c C-v | inf-clojure-show-var-documentation |
Copyright © 2015 John Walker and contributors. Licensed under GPLv3.