branch: elpa/evil-lisp-state
commit 75f8f30e4213c821e11963183ce430fa7a6c0989
Author: syl20bnr <[email protected]>
Commit: syl20bnr <[email protected]>
Use directions for copy
---
README.md | 3 ++-
evil-lisp-state.el | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 5df385904d..69e4695c57 100644
--- a/README.md
+++ b/README.md
@@ -85,7 +85,8 @@ Key Binding | Function
`T` | sp-transpose-hybrid-sexp
`u` | undo-tree-undo
`U` | sp-unwrap-sexp
-`y` | sp-copy-sexp
+`yh` | sp-backward-copy-sexp
+`yl` | sp-copy-sexp
`RET` | sp-newline
`ESC` | evil-normal-state
diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index 2e84196e72..86f3e67826 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -105,7 +105,8 @@
(define-key evil-lisp-state-map "T" 'sp-transpose-hybrid-sexp)
(define-key evil-lisp-state-map "u" 'undo-tree-undo)
(define-key evil-lisp-state-map "U" 'sp-unwrap-sexp)
-(define-key evil-lisp-state-map "y" 'sp-copy-sexp)
+(define-key evil-lisp-state-map "yh" 'sp-backward-copy-sexpp)
+(define-key evil-lisp-state-map "yl" 'sp-copy-sexp)
(define-key evil-lisp-state-map (kbd "DEL") 'evil-backward-char)
(define-key evil-lisp-state-map (kbd "RET") 'sp-newline)
(define-key evil-lisp-state-map [escape] 'evil-normal-state)