emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-lisp-state 9afc34bd94 016/125: Add yank/past on `y` a


From: ELPA Syncer
Subject: [nongnu] elpa/evil-lisp-state 9afc34bd94 016/125: Add yank/past on `y` and `p`
Date: Thu, 6 Jan 2022 04:58:38 -0500 (EST)

branch: elpa/evil-lisp-state
commit 9afc34bd94695488ac30be31a7d21938d42257a2
Author: sbenner <sylvain.benner@gmail.com>
Commit: sbenner <sylvain.benner@gmail.com>

    Add yank/past on `y` and `p`
---
 README.md          | 3 +++
 evil-lisp-state.el | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/README.md b/README.md
index 9e0f79b1dd..f82afd60a6 100644
--- a/README.md
+++ b/README.md
@@ -52,6 +52,8 @@ Key Binding   | Function
 `k`           | sp-up-sexp
 `K`           | sp-backward-up-sexp
 `l`           | sp-forward-sexp
+`p`           | evil-past-after
+`P`           | evil-past-before
 `r`           | sp-raise-sexp (same as `ska`)
 `C-r`         | undo-tree-redo
 `ska`         | sp-splice-sexp-killing-around
@@ -61,6 +63,7 @@ Key Binding   | Function
 `sl`          | sp-forward-slurp-sexp
 `sx`          | sp-splice-sexp
 `u`           | undo-tree-undo
+`y`           | sp-copy-sexp
 `RET`         | sp-newline
 `ESC`         | evil-normal-state
 
diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index df5c8a0186..474f4092c9 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -82,6 +82,8 @@
 (define-key evil-lisp-state-map "k"   'sp-up-sexp)
 (define-key evil-lisp-state-map "K"   'sp-backward-up-sexp)
 (define-key evil-lisp-state-map "l"   'sp-forward-sexp)
+(define-key evil-lisp-state-map "p"   'evil-paste-after)
+(define-key evil-lisp-state-map "P"   'evil-paste-before)
 (define-key evil-lisp-state-map "r"   'sp-raise-sexp)
 (define-key evil-lisp-state-map "C-r" 'undo-tree-redo)
 (define-key evil-lisp-state-map "ska" 'sp-splice-sexp-killing-around)
@@ -91,6 +93,7 @@
 (define-key evil-lisp-state-map "sl"  'sp-forward-slurp-sexp)
 (define-key evil-lisp-state-map "sx"  'sp-splice-sexp)
 (define-key evil-lisp-state-map "u"   'undo-tree-undo)
+(define-key evil-lisp-state-map "y"   'sp-copy-sexp)
 
 (define-key evil-lisp-state-map (kbd "RET") 'sp-newline)
 (define-key evil-lisp-state-map [escape]    'evil-normal-state)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]