leoliu pushed a commit to branch master
in repository elpa.

commit eb07790c48b06186c003f92a1fc896e6e0f47f35
Author: Leo Liu <sdl....@gmail.com>
Date:   Thu Oct 10 20:07:32 2013 +0800

    Doc fix and release v0.8.0
---
 README.rst   |    5 ++---
 easy-kill.el |   17 ++++++++---------
 2 files changed, 10 insertions(+), 12 deletions(-)

diff --git a/README.rst b/README.rst
index 02aa1b0..9192264 100644
--- a/README.rst
+++ b/README.rst
@@ -20,11 +20,10 @@ Keys (customisable) immediately following ``M-w``:
 #. ``l`` -> list at point
 #. ``d`` -> defun at point
 #. ``b`` -> ``buffer-file-name`` or ``default-directory``
-#. ``C-w`` -> kill current region
 #. ``@`` -> append selection to previous kill
+#. ``C-w`` -> kill selection
 #. ``+``, ``-`` and ``0..9`` -> expand/shrink selection
-#. ``C-@`` or ``C-SPC`` -> turn current selection into an active
-   region
+#. ``SPC`` -> turn selection into an active region
 
 The following `screenshot <http://i.imgur.com/8TNgPly.png>`_ shows
 ``M-w l`` in action:
diff --git a/easy-kill.el b/easy-kill.el
index 8f85919..552cb40 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2013  Leo Liu
 
 ;; Author: Leo Liu <sdl....@gmail.com>
-;; Version: 0.7.0
+;; Version: 0.8.0
 ;; Package-Requires: ((emacs "24"))
 ;; Keywords: convenience
 ;; Created: 2013-08-12
@@ -52,9 +52,8 @@ CHAR is used immediately following `easy-kill' to select 
THING."
     (define-key map "+" 'easy-kill-expand)
     (define-key map "=" 'easy-kill-expand)
     (define-key map "@" 'easy-kill-append)
+    (define-key map " " 'easy-kill-mark-region)
     (define-key map "\C-w" 'easy-kill-region)
-    (define-key map (kbd "C-SPC") 'easy-kill-mark-region)
-    (define-key map (kbd "C-@") 'easy-kill-mark-region)
     (mapc (lambda (d)
             (define-key map (number-to-string d) 'easy-kill-digit-argument))
           (number-sequence 0 9))
@@ -245,13 +244,13 @@ candidate property instead."
   "Kill thing at point in the order of region, url, email and line.
 Temporally activate additional key bindings as follows:
 
-  letters => select or expand things according to `easy-kill-alist';
-  0..9    => expand current selection by that number;
-  +,=/-   => expand or shrink current selection by 1;
+  letters => select or expand selection according to `easy-kill-alist';
+  0..9    => expand selection by that number;
+  +,=/-   => expand or shrink selection
   @       => append selection to previous kill
-  C-w     => kill current selection;
-  C-SPC   => turn current selection into active region
-  others  => save current selection to kill ring and exit."
+  C-w     => kill selection;
+  SPC     => turn selection into an active region
+  others  => save selection and exit."
   (interactive "p")
   (if (use-region-p)
       (kill-ring-save (region-beginning) (region-end))

Reply via email to