From d7f87c63f1cacebdf710cc39e7ab7e9cfc690272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Wa=C5=82kuski?= Date: Sat, 28 May 2022 23:46:16 +0200 Subject: [PATCH] Copy and kill sexps --- README.md | 8 ++++++++ doom-parents.el | 2 ++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 684b5c3..3226d1a 100644 --- a/README.md +++ b/README.md @@ -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` diff --git a/doom-parents.el b/doom-parents.el index c10a14a..8b33570 100644 --- a/doom-parents.el +++ b/doom-parents.el @@ -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