[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-matchit 2f423258e1 152/244: support mhtml-mode
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-matchit 2f423258e1 152/244: support mhtml-mode |
Date: |
Thu, 6 Jan 2022 02:58:57 -0500 (EST) |
branch: elpa/evil-matchit
commit 2f423258e1d7cb99225f49738acc89c15439c525
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
support mhtml-mode
---
README.org | 9 ++++++++-
evil-matchit.el | 9 +++------
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index add3e1b193..9666a7647d 100644
--- a/README.org
+++ b/README.org
@@ -30,7 +30,7 @@ Many modern languages are supported:
- Laravel Blade Templating
- Vim script
- Verilog
-- Emacs email (mesage-mode)
+- Emacs email (message-mode)
This package uses Evil as its vi layer!
@@ -82,6 +82,13 @@ If you need visually select lines, I strongly recommend
*using "evilmi-select-it
This is actually an advantage of Emacs, you can tweak the select region
without go into visual state at all.
* Advanced tips
+** Support new major modes
+In order to apply three matching rules =evilmi-template=, =evilmi-simple=, and
=evilmi-html= on =mhtml-mode=, please insert below code *after* your
evil-nerd-commenter setup:
+#+begin_src elisp
+(plist-put evilmi-plugins 'mhtml-mode '((evilmi-template-get-tag
evilmi-template-jump)
+ (evilmi-simple-get-tag
evilmi-simple-jump)
+ (evilmi-html-get-tag evilmi-html-jump)
+#+end_src
** Use evilmi-select-items instead press '%' in evil-visual-state
evilmi-select-items is more robust and provides more functionality. It works
even when evil-mode is not loaded.
diff --git a/evil-matchit.el b/evil-matchit.el
index 25ff081789..bd01df81c3 100644
--- a/evil-matchit.el
+++ b/evil-matchit.el
@@ -30,13 +30,10 @@
;;; Commentary:
;;
;; This program emulates matchit.vim by Benji Fisher.
-;; It allows you press % to match items.
+;; Add `(global-evil-matchit-mode 1)' into Emacs setup.
+;; Then press % to match items.
;; See https://github.com/redguardtoo/evil-matchit/ for help.
;;
-;; You can turn on `evilmi-always-simple-jump' to match brackets at first.
-;; Thus you disable our *advanced algorithm* which I highly recommend.
-;; Some people may prefer simpler algorithm in `python-mode'.
-;;
;; This program requires EVIL (http://gitorious.org/evil)
;;
@@ -292,7 +289,7 @@ If IS-FORWARD is t, jump forward; or else jump backward."
(plist-put evilmi-plugins mode '((evilmi-template-get-tag
evilmi-template-jump)
(evilmi-simple-get-tag
evilmi-simple-jump)
(evilmi-html-get-tag
evilmi-html-jump))))
- '(web-mode html-mode nxml-mode nxhtml-mode sgml-mode message-mode))
+ '(web-mode html-mode nxml-mode nxhtml-mode sgml-mode message-mode
mhtml-mode))
;; Emacs Org-mode
(autoload 'evilmi-org-get-tag "evil-matchit-org" nil)
- [nongnu] elpa/evil-matchit cc3654b00d 133/244: only keep fn-end and do-else-end pairs, (continued)
- [nongnu] elpa/evil-matchit cc3654b00d 133/244: only keep fn-end and do-else-end pairs, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 7bee6fad80 167/244: Merge pull request #106 from porras/patch-1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit abe43359bf 160/244: Merge pull request #98 from nitros12/master, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit c5b87b4de5 174/244: Merge pull request #108 from neojski/better-parens-handling, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 5e92e374e6 179/244: better algorithm to match keyword, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 449da5ca10 082/244: fixed typo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 18a3e6ab47 096/244: Merge pull request #64 from hlissner/master, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 58e735c5ea 097/244: org-element-property exist in 24.4+ only, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit de6ce21e1e 106/244: jump in comment, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 3873a93653 081/244: support enh-ruby-mode, more tips v2.0.1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 2f423258e1 152/244: support mhtml-mode,
ELPA Syncer <=
- [nongnu] elpa/evil-matchit 4a24de3862 126/244: Add copyright preamble, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 73bef5fb56 134/244: Merge pull request #84 from dsdshcym/83-elixir-support, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 8123eef094 146/244: Merge pull request #88 from Khady/master, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 3f49ee9d17 140/244: improve ocaml, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 8d6bd9187d 154/244: [chen] update doc, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 2143844e2b 170/244: support js2-jsx-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit e941c695f3 173/244: Add [ and { as well., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit c04f8f480c 164/244: Match Ruby's begin also when it's not on the beginning of the line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit d779aedaf1 195/244: clean code, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit dead63c7d0 194/244: add unit test, ELPA Syncer, 2022/01/06