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

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

[nongnu] elpa/evil-matchit fc1731e8b2 013/244: updated doc, hotkey set u


From: ELPA Syncer
Subject: [nongnu] elpa/evil-matchit fc1731e8b2 013/244: updated doc, hotkey set up, v0.0.5
Date: Thu, 6 Jan 2022 02:58:45 -0500 (EST)

branch: elpa/evil-matchit
commit fc1731e8b2d42933e4aea0cb51fdcd88c5e70f81
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    updated doc, hotkey set up, v0.0.5
---
 README.org          | 10 +++++-----
 evil-matchit-pkg.el |  2 +-
 evil-matchit.el     | 10 ++++++----
 pkg.sh              |  2 +-
 4 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/README.org b/README.org
index ab6aa96b2d..93464e9f2a 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* evil-matchit (current version 0.0.4)
+* evil-matchit (current version 0.0.5)
 
 Vim [[http://www.vim.org/scripts/script.php?script_id=39][matchit.vim]] by 
Benji Fisher ported into Emacs.
 
@@ -15,13 +15,13 @@ Alternatively, you can enable evil-matchit-mode along a 
major mode by adding `tu
 evil-matchit is already uploaded to [[http://marmalade-repo.org/]]. So the 
best way to install it is using Emacs' package manager.
 
 * How to use evil-matchit
-Press "%" to jump inside item(s) between tags in evil-normal-mode.
+Press "%" to jump inside item(s) between tags in evil-normal-mode whose 
command name is "evilmi-jump-items".
 
-Press ",si" to select item(s) wrapped by tags in evil-normal-mode.
+Press ",si" to select item(s) wrapped by tags in evil-normal-mode whose 
command name is "evilmi-select-items".
 
-Press ",di" to delete item(s) wrapped by tags in evil-normal-mode.
+Press ",di" to delete item(s) wrapped by tags in evil-normal-mode whose 
command name is "evilmi-delete-items".
 
-All the commands support numeric argument like "3%", "5,si" or "9,di"
+All commands support numeric argument like "3%", "5,si" or "9,di"
 
 * Advanced set up
 html tags are automatically supported in nxml-mode, web-mode, html-mode and 
nxhtml-mode.
diff --git a/evil-matchit-pkg.el b/evil-matchit-pkg.el
index c2541faffe..946296f8cc 100644
--- a/evil-matchit-pkg.el
+++ b/evil-matchit-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-matchit" "0.0.4"
+(define-package "evil-matchit" "0.0.5"
                 "Vim matchit ported into Emacs (requires EVIL)")
diff --git a/evil-matchit.el b/evil-matchit.el
index 44ffe83a9d..ab2734fd39 100644
--- a/evil-matchit.el
+++ b/evil-matchit.el
@@ -4,7 +4,7 @@
 
 ;; Author: Chen Bin <chenbin.sh@gmail.com>
 ;; URL: http://github.com/redguardtoo/evil-matchit
-;; Version: 0.0.4
+;; Version: 0.0.5
 ;; Keywords: matchit vim evil
 ;; Package-Requires: ((evil "1.0.7"))
 ;;
@@ -242,9 +242,11 @@
   evil-matchit-mode turn-on-evil-matchit-mode
   "Global minor mode to emulate matchit.vim")
 
-(define-key evil-normal-state-map "%" 'evilmi-jump-items)
-(define-key evil-normal-state-map ",si" 'evilmi-select-items)
-(define-key evil-normal-state-map ",di" 'evilmi-delete-items)
+(evil-define-key 'normal evil-matchit-mode-map
+  "%" 'evilmi-jump-items
+  ",si" 'evilmi-select-items
+  ",di" 'evilmi-delete-items
+  )
 
 (provide 'evil-matchit)
 
diff --git a/pkg.sh b/pkg.sh
index 7f1e36e629..1c0bea96dc 100755
--- a/pkg.sh
+++ b/pkg.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-pkg=evil-matchit-0.0.4
+pkg=evil-matchit-0.0.5
 mkdir $pkg
 cp README.org $pkg
 cp *.el $pkg



reply via email to

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