3.4 KiB
:editor lispy
Description unfold
This module adds a keybind scheme for navigating and editing S-expressions in Lisps; including S-exp awareness for Evil users. This affects the following languages:
Maintainers
This module needs a maintainer. Become a maintainer?
Module flags
This module has no flags.
Packages
- doom-package:lispy
- doom-package:lispyville if doom-module::editor evil +everywhere
Hacks
No hacks documented for this module.
TODO Changelog
This module does not have a changelog yet.
Installation
Enable this module in your doom!
block.
This module has no external requirements.
TODO Usage
This module's usage documentation is incomplete. Complete it?
If doom-module::editor evil is enabled, doom-package:lispyville would also be activated for every mode where doom-package:lispy is active.
TODO Configuration
This module's configuration documentation is incomplete. Complete it?
The default key themes that are set are as follows:
'((operators normal)
c-w
(prettify insert)
(atom-movement normal visual)
slurp/barf-lispy
additional
additional-insert)
To change the key themes set lispyville-key-theme
. Think of
lispyville-key-theme
as the equivalent of parinfer-extensions
. See
lispyville's README for more info on the specific keybindings of each key theme
(starting here).
Working with Brackets
By default, [
and ]
are bound to lispyville-previous-opening
and
lispyville-next-closing
respectively. If you use a language which makes frequent
use of brackets (e.g. Clojure, Racket, Scheme), you can insert a bracket pair []
by typing {
. If you prefer to use the bracket keys for input, you can rebind
them like below:
;; in $DOOMDIR/config.el
(map! :after (lispy lispyville)
:map lispy-mode-map-lispy
;; unbind individual bracket keys
"[" nil
"]" nil
;; re-bind commands bound to bracket keys by default
"M-[" #'lispyville-previous-opening
"M-]" #'lispyville.next-opening)
Troubleshooting
Frequently asked questions
This module has no FAQs yet. Ask one?
TODO Appendix
This module has no appendix yet. Write one?