Helm for SLY, a Common Lisp interaction mode for Emacs.
Add helm-sly.el
to your load-path.
Set up SLY properly.
To use Helm instead of the Xref buffer, enable global-helm-sly-mode
.
To enable Helm for completion, two options:
- Without company:
(add-hook 'sly-mrepl-hook #'helm-sly-disable-internal-completion) ;; If you want fuzzy-matching: (setq helm-completion-in-region-fuzzy-match t)
- With company, install helm-company, then:
(add-hook 'sly-mrepl-hook #'company-mode) (require 'helm-company) (define-key sly-mrepl-mode-map (kbd "<tab>") 'helm-company)
Helm-SLY defines a few new commands:
- helm-sly-list-connections
- Yet another Lisp connection list with `helm’.
- helm-sly-apropos
- Yet another
apropos
with Helm. - helm-sly-mini
- Like
helm-sly-list-connections
, but include an extra source of Lisp-related buffers, like the events buffer or the scratch buffer.
- Add “recompile” actions to Xref source.
- Fix
predicate
argument inhelm-sly-lisp-buffer-source
. - Fix buffer-less connection switching.
- Rename
helm-sly-build-buffers-source
source name to “Build buffers”, to avoid conflict with Lisp buffers. This fixes completion against buffers.
- Add source listing all Lisp buffers.
- Make helm-sly–c-source-connection more customizable.
- Include inferior Lisp buffer to the “Lisp buffers” source. It was already accessible via the action menu.
- Dynamically list the debug buffer in the “Lisp buffers” source, when present. It was already accessible via the action menu.
- Dynamically list sly-description and sly-compilation when present.
- Fix sly-scratch and sly-db buffer switching.
- New action to go to REPL in other window.
- List current connection buffer candidate last.
- Make connection candidates customizable.
See
helm-sly--c-source-connection
. - Make connection candidate display customizable.
See
helm-sly-connection-formatter
.