[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-matchit 313498e6ec 043/244: #26 jump to percentage
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-matchit 313498e6ec 043/244: #26 jump to percentage |
Date: |
Thu, 6 Jan 2022 02:58:48 -0500 (EST) |
branch: elpa/evil-matchit
commit 313498e6ec21707c5295fcc326771cb20845b3de
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
#26 jump to percentage
---
evil-matchit.el | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/evil-matchit.el b/evil-matchit.el
index 851d30910d..dac9320d29 100644
--- a/evil-matchit.el
+++ b/evil-matchit.el
@@ -44,13 +44,12 @@
))
(defun evilmi--operate-on-item (NUM &optional FUNC)
- (let (plugin
+ (let ((plugin (plist-get evilmi-plugins major-mode))
rlt
jumped
- where-to-jump-in-theory
- )
+ where-to-jump-in-theory)
- (setq plugin (plist-get evilmi-plugins major-mode))
+ (if (not NUM) (setq NUM 1))
(if plugin
(mapc
@@ -148,9 +147,11 @@
;;;###autoload
(defun evilmi-jump-items (&optional NUM)
"jump between item/tag(s)"
- (interactive "p")
- (evilmi--operate-on-item NUM)
- )
+ (interactive "P")
+ (cond
+ (NUM (evil-jump-item NUM))
+ (t (evilmi--operate-on-item NUM))
+ ))
;;;###autoload
(defun evilmi-select-items (&optional NUM)
- [nongnu] elpa/evil-matchit 363b6683ab 033/244: ignore elisp flymake file, (continued)
- [nongnu] elpa/evil-matchit 363b6683ab 033/244: ignore elisp flymake file, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 4f993303e1 044/244: delete leading spaces AND matched tags v1.2.9, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit dd3d90bf95 010/244: Fix malformed header line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 285f5c2413 024/244: udpated doc and screencast, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit c65da39f49 016/244: autoload sgml-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit b75893af9e 028/244: minor bug in latex-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit acc7efbd8d 034/244: minor bugs fixed v1.2.3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 78cc0335de 035/244: support latex mode, v1.2.4, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit e81d779541 046/244: support Emacs email (message-mode), ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit f7bced4500 047/244: updated README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 313498e6ec 043/244: #26 jump to percentage,
ELPA Syncer <=
- [nongnu] elpa/evil-matchit bd4feb7884 036/244: support cmake v1.2.5, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 6fabc1b8e7 048/244: support funtional javascript syntax v1.3.1, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 575e1e652a 037/244: support go-mode v1.2.6, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit d7f45fd142 039/244: updated doc v1.2.7, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 4d8d55e7f4 052/244: typo, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 0b2c287826 053/244: perfect support for ruby-mode v1.3.3 #29, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit b4ae58d214 040/244: some ad on stable, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 04e1d796b9 042/244: support "# ifdef" in c, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 937a407596 058/244: more tolerant algorithm in c/c++ v1.4.2, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-matchit 9158dc87cc 062/244: case sensitive code is cleaned because Emacs will handle it, ELPA Syncer, 2022/01/06