branch: elpa/evil-lisp-state
commit 0e7f902c74a1a57525b19a4729db4dbea673f79d
Author: syl20bnr <[email protected]>
Commit: syl20bnr <[email protected]>

    Use directions for delete functions
    
    In order to be consistent with the rest of the key bindings
---
 README.md          | 9 ++++++---
 evil-lisp-state.el | 9 ++++++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 1172e60103..5df385904d 100644
--- a/README.md
+++ b/README.md
@@ -50,9 +50,12 @@ Key Binding   | Function
 `c`           | sp-convolute-sexp
 `C`           | sp-comment
 `dd`          | sp-kill-hybrid-sexp
-`ds`          | sp-kill-symbol
-`dw`          | sp-kill-word
-`dx`          | sp-kill-sexp
+`dh`          | sp-backward-kill-sexp
+`dl`          | sp-kill-sexp
+`dsl`         | sp-kill-symbol
+`dsh`         | sp-backward-kill-symbol
+`dwl`         | sp-kill-word
+`dwh`         | sp-backward-kill-word
 `e$`          | evil-lisp-state-eval-sexp-end-of-line
 `ef`          | eval-defun
 `el`          | eval-last-sexp
diff --git a/evil-lisp-state.el b/evil-lisp-state.el
index 2873c62c16..2e84196e72 100644
--- a/evil-lisp-state.el
+++ b/evil-lisp-state.el
@@ -70,9 +70,12 @@
 (define-key evil-lisp-state-map "c"   'sp-convolute-sexp)
 (define-key evil-lisp-state-map "C"   'sp-comment)
 (define-key evil-lisp-state-map "dd"  'sp-kill-hybrid-sexp)
-(define-key evil-lisp-state-map "ds"  'sp-kill-symbol)
-(define-key evil-lisp-state-map "dw"  'sp-kill-word)
-(define-key evil-lisp-state-map "dx"  'sp-kill-sexp)
+(define-key evil-lisp-state-map "dh"  'sp-backward-kill-sexp)
+(define-key evil-lisp-state-map "dl"  'sp-kill-sexp)
+(define-key evil-lisp-state-map "dsh" 'sp-backward-kill-symbol)
+(define-key evil-lisp-state-map "dsl" 'sp-kill-symbol)
+(define-key evil-lisp-state-map "dwh" 'sp-backward-kill-word)
+(define-key evil-lisp-state-map "dwl" 'sp-kill-word)
 (define-key evil-lisp-state-map "e$"  'evil-lisp-state-eval-sexp-end-of-line)
 (define-key evil-lisp-state-map "ef"  'eval-defun)
 (define-key evil-lisp-state-map "el"  'eval-last-sexp)

Reply via email to