mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-09 06:05:10 +02:00
docs: structured editing
This commit is contained in:
@@ -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. ...
|
||||||
|
|
||||||
@@ -30,17 +30,8 @@ when in doubt, run `doom sync`!
|
|||||||
## Why emacs?
|
## Why emacs?
|
||||||
|
|
||||||
1. Explore the unknown, just for fun!
|
1. Explore the unknown, just for fun!
|
||||||
2. Better support for Lisp-like Languages.
|
|
||||||
3. Org Mode
|
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
|
## 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.
|
Here is the cheetsheet related to my DoomEmacs configs. Please read vim's common cheetsheet at [../README.md](../README.md) before reading the following.
|
||||||
|
|||||||
Reference in New Issue
Block a user