Skip to content

Latest commit

 

History

History
106 lines (84 loc) · 3.39 KB

README.org

File metadata and controls

106 lines (84 loc) · 3.39 KB

:editor lispy

Description

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:

  • Common Lisp
  • Emacs Lisp
  • Scheme
  • Racket
  • Hy
  • LFE
  • Clojure
  • Fennel

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.

Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module has no external requirements.

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.

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

Report an issue?

Mouse wheel and wrap=/=additional-wrap key themes in TTY Emacs (#2573)

lispyville binds [[kbd:][M-[]] to lispyville-wrap-brackets when the wrap or additional-wrap key themes are enabled. In terminal Emacs, this is the key Emacs receives when you scroll with your mouse wheel.

Frequently asked questions

This module has no FAQs yet. Ask one?

Appendix

🔨 This module has no appendix yet. Write one?