Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomekw/doom-parents
A set of Doom Emacs mappings for manipulating parentheses and sexps
https://github.com/tomekw/doom-parents
doom-emacs emacs emacs-package
Last synced: 4 days ago
JSON representation
A set of Doom Emacs mappings for manipulating parentheses and sexps
- Host: GitHub
- URL: https://github.com/tomekw/doom-parents
- Owner: tomekw
- License: mit
- Created: 2022-03-03T16:26:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-28T21:47:23.000Z (over 2 years ago)
- Last Synced: 2024-05-09T13:51:33.205Z (6 months ago)
- Topics: doom-emacs, emacs, emacs-package
- Language: Emacs Lisp
- Homepage:
- Size: 2.93 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# doom-parents
A set of Doom Emacs mappings for manipulating parentheses and sexps## Installation
```lisp
;; ~/.doom.d/packages.el(package! doom-parents
:recipe (:host github :repo "tomekw/doom-parents"));; ~/.doom.d/config.el
(use-package! doom-parents)
```and then:
```shell
$ doom sync
```## Usage
1. Wrap sexp in round parentheses
`SPC` - `c` -`p` - `(`
1. Wrap sexp in square parentheses
`SPC` - `c` -`p` - `[`
1. Wrap sexp in curly parentheses
`SPC` - `c` -`p` - `{`
1. Copy sexp
`SPC` - `c` -`p` - `y`
1. Kill sexp
`SPC` - `c` -`p` - `d`
1. Raise sexp
`SPC` - `c` -`p` - `r`
1. Push parenthesis to the right
`SPC` - `c` -`p` - `>` - `)`
1. Push parenthesis to the left
`SPC` - `c` -`p` - `<` - `(`
1. Pull parenthesis from the right
`SPC` - `c` -`p` - `<` - `)`
1. Pull parenthesis from the left
`SPC` - `c` -`p` - `>` - `(`