Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anwyn/slime-company
Company-mode completion backend for Slime.
https://github.com/anwyn/slime-company
common-lisp completion completion-backend convenience emacs-lisp melpa slime slime-company
Last synced: 2 months ago
JSON representation
Company-mode completion backend for Slime.
- Host: GitHub
- URL: https://github.com/anwyn/slime-company
- Owner: anwyn
- Created: 2013-04-18T12:20:56.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2021-01-24T16:29:28.000Z (about 4 years ago)
- Last Synced: 2024-08-07T18:31:27.155Z (6 months ago)
- Topics: common-lisp, completion, completion-backend, convenience, emacs-lisp, melpa, slime, slime-company
- Language: Emacs Lisp
- Size: 44.9 KB
- Stars: 76
- Watchers: 4
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
slime-company
=============A [company-mode](https://company-mode.github.io) completion backend for
[Slime](https://github.com/slime/slime), "The Superior Lisp Interaction Mode for Emacs".![screenshot](slime-company.png)
## Setup
The recommended way to install `slime-company` is via
[MELPA](http://melpa.org/#/slime-company). 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`
```el
(slime-setup '(slime-fancy slime-company))
```You may also want to `M-x customize-group slime-company` to select the
completion method (use `fuzzy' if you like to complete package names),
the major modes where `slime-company` is automatically activated, what
do do after a successful completion and how to display the argument
list of a function.These customization variables can also be set manually. An example with
`use-package' looks like this:```
(use-package slime-company
:after (slime company)
:config (setq slime-company-completion 'fuzzy
slime-company-after-completion 'slime-company-just-one-space))
```The following bindings for `company-active-map` will add the usual
navigation keys to the completion menu:```el
(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)
```