Skip to content

Commit

Permalink
Copy and kill sexps
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekw committed May 28, 2022
1 parent bcf6820 commit d7f87c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ $ doom sync

`SPC` - `c` -`p` - `{`

1. Copy sexp

`SPC` - `c` -`p` - `y`

1. Kill sexp

`SPC` - `c` -`p` - `d`

1. Raise sexp

`SPC` - `c` -`p` - `r`
Expand Down
2 changes: 2 additions & 0 deletions doom-parents.el
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
:desc "wrap round" "(" #'sp-wrap-round
:desc "wrap square" "[" #'sp-wrap-square
:desc "wrap curly" "{" #'sp-wrap-curly
:desc "kill sexp" "d" #'sp-kill-sexp
:desc "copy sexp" "y" #'sp-copy-sexp
:desc "raise" "r" #'sp-raise-sexp
(:prefix (">" . "right side")
:desc "push" ")" #'sp-forward-slurp-sexp
Expand Down

0 comments on commit d7f87c6

Please sign in to comment.