slime-company
A company-mode completion backend for Slime, "The Superior Lisp Interaction Mode for Emacs".
Setup
The recommended way to install slime-company is via
MELPA. If not using MELPA, put
this file somewhere into your load-path (or just into slime-path/contribs).
To activate the contrib add it to the slime-setup call in your .emacs
(slime-setup '(slime-fancy slime-company))You may also want to M-x customize-group slime-company to select the
completion method and the major modes where slime-company is
automatically activated.
The following bindings for company-active-map will add the usual
navigation keys to the completion menu:
(define-key company-active-map (kbd "\C-n") 'company-select-next)
(define-key company-active-map (kbd "\C-p") 'company-select-previous)
(define-key company-active-map (kbd "\C-d") 'company-show-doc-buffer)
(define-key company-active-map (kbd "M-.") 'company-show-location)