helm-sly icon indicating copy to clipboard operation
helm-sly copied to clipboard

Helm for SLY

#+TITLE: Helm-SLY

Helm for [[https://github.com/joaotavora/sly][SLY]], a Common Lisp interaction mode for Emacs.

  • Installation

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:

    #+begin_src lisp (add-hook 'sly-mrepl-hook #'helm-sly-disable-internal-completion) ;; If you want fuzzy-matching: (setq helm-completion-in-region-fuzzy-match t) #+end_src

  • With company, install [[https://github.com/Sodel-the-Vociferous/helm-company][helm-company]], then:

    #+begin_src lisp (add-hook 'sly-mrepl-hook #'company-mode) (require 'helm-company) (define-key sly-mrepl-mode-map (kbd "") 'helm-company) #+end_src

  • Usage

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.

  • Change Log

** 0.7.2

  • Add "recompile" actions to Xref source.

** 0.7.1

  • Fix =predicate= argument in =helm-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.

** 0.7

  • 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.

** 0.6

  • 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=.