docs: structured editing

This commit is contained in:
Ryan Yin
2024-01-05 18:18:28 +08:00
parent 9424045430
commit 9ffdbfe068
2 changed files with 22 additions and 9 deletions

View File

@@ -0,0 +1,22 @@
# Structured Editing
## S-expression data(Lisp)
- paredit/[lispy](https://github.com/doomemacs/doomemacs/tree/master/modules/editor/lispy): too complex.
- [evil-smartparens](https://github.com/expez/evil-smartparens): simple and useful.
- [parinfer(par-in-fer)](https://shaunlebron.github.io/parinfer/): morden, simple, elegant and useful, but works not well with some other completion plugins...
- to make parinfer works, you should disable sexp & smartparens in any lisp mode.
Some plugins:
- Emacs
- [parinfer-rust-mode](https://github.com/justinbarclay/parinfer-rust-mode)
- Neovim
- [parinfer-rust](https://github.com/eraserhd/parinfer-rust)
- <https://github.com/Olical/conjure>
## Other Languages
1. treesitter
1. ...

View File

@@ -30,17 +30,8 @@ when in doubt, run `doom sync`!
## Why emacs?
1. Explore the unknown, just for fun!
2. Better support for Lisp-like Languages.
3. Org Mode
## Structured editing of S-expression data
> https://wikemacs.org/wiki/Lisp_editing
- [lispy](https://github.com/doomemacs/doomemacs/tree/master/modules/editor/lispy): too complex.
- [evil-smartparens](https://github.com/expez/evil-smartparens): simple and useful.
- [parinfer](https://github.com/doomemacs/doomemacs/tree/master/modules/editor/parinfer): morden, simple, elegant and useful, but works not well with some other completion plugins...
## Cheetsheet
Here is the cheetsheet related to my DoomEmacs configs. Please read vim's common cheetsheet at [../README.md](../README.md) before reading the following.