[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-nerd-commenter 2491e83868 030/235: hotkey to comment
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-nerd-commenter 2491e83868 030/235: hotkey to comment region |
Date: |
Thu, 6 Jan 2022 02:59:32 -0500 (EST) |
branch: elpa/evil-nerd-commenter
commit 2491e8386810c5e46455bb7da6206eeab835241f
Author: Chen Bin <Chen.Bin@optus.com.au>
Commit: Chen Bin <Chen.Bin@optus.com.au>
hotkey to comment region
---
README.org | 5 +++--
evil-nerd-commenter-pkg.el | 2 +-
evil-nerd-commenter.el | 3 ++-
pkg.sh | 2 +-
4 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/README.org b/README.org
index 858bbeed34..ce83cd9e8d 100644
--- a/README.org
+++ b/README.org
@@ -1,9 +1,9 @@
-* evil-nerd-commenter (current version 1.0.0)
+* evil-nerd-commenter (current version 1.1.0)
As a developer, I often need comment/uncomment lines for debugging or adding
some short comment in the code block.
As I know, the [[http://www.vim.org/scripts/script.php?script_id=1218][Nerd
Commenter]] for Vim is the most efficient way to doing this thing.
Unfortunately, there is no similar plugin in Emacs.
-That's why I develop this Nerd Commenter simulator for Emacs people. Besides,
I'm also adding my own utilities into this plugin. For example, I added a
command to comment *AND* copy lines in version 1.0.0.
+That's why I develop this Nerd Commenter simulator for Emacs people. Besides,
I'm also adding my own utilities into this plugin. For example, I added a
command to comment *AND* copy lines in version 1.1.0.
Though this program could be used *independently*, I highly recommend you use
it with [[http://gitorious.org/evil][evil]].
@@ -48,6 +48,7 @@ Further explanation, the content of evilnc-default-hotkeys is:
(define-key evil-normal-state-map ",cl"
'evilnc-comment-or-uncomment-to-the-line)
(define-key evil-normal-state-map ",cc" 'evilnc-copy-and-comment-lines)
(define-key evil-normal-state-map ",cp"
'evilnc-comment-or-uncomment-paragraphs)
+ (define-key evil-normal-state-map ",cr" 'comment-or-uncomment-region)
))
)
#+END_SRC
diff --git a/evil-nerd-commenter-pkg.el b/evil-nerd-commenter-pkg.el
index d70f75a7f2..434c8215f6 100644
--- a/evil-nerd-commenter-pkg.el
+++ b/evil-nerd-commenter-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-nerd-commenter" "1.0.0"
+(define-package "evil-nerd-commenter" "1.1.0"
"Comment/uncomment lines efficiently. Like Nerd Commenter in
Vim")
diff --git a/evil-nerd-commenter.el b/evil-nerd-commenter.el
index 5acab177fe..ad24f3a857 100644
--- a/evil-nerd-commenter.el
+++ b/evil-nerd-commenter.el
@@ -4,7 +4,7 @@
;; Author: Chen Bin <chenbin.sh@gmail.com>
;; URL: http://github.com/redguardtoo/evil-nerd-commenter
-;; Version: 1.0.0
+;; Version: 1.1.0
;; Keywords: commenter vim line evil
;;
;; This file is not part of GNU Emacs.
@@ -267,6 +267,7 @@ Paragraphs are separated by empty lines."
(define-key evil-normal-state-map ",cl"
'evilnc-comment-or-uncomment-to-the-line)
(define-key evil-normal-state-map ",cc" 'evilnc-copy-and-comment-lines)
(define-key evil-normal-state-map ",cp"
'evilnc-comment-or-uncomment-paragraphs)
+ (define-key evil-normal-state-map ",cr" 'comment-or-uncomment-region)
))
)
diff --git a/pkg.sh b/pkg.sh
index a54ec6e501..92a316553c 100755
--- a/pkg.sh
+++ b/pkg.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-pkg=evil-nerd-commenter-1.0.0
+pkg=evil-nerd-commenter-1.1.0
mkdir $pkg
cp README.org $pkg
cp *.el $pkg
- [nongnu] elpa/evil-nerd-commenter 83af4f4835 002/235: set evil hotkey after evil-leader loaded, (continued)
- [nongnu] elpa/evil-nerd-commenter 83af4f4835 002/235: set evil hotkey after evil-leader loaded, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter b4fcadabd9 001/235: first import, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 6e618b3c7f 008/235: tweak README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 906f01ee55 009/235: make my email not too public and updated README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 43034e5604 010/235: upgraded to version 0.0.3, now you can toggle flag to comment empty lines, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter e94cbcd747 011/235: Fixed typos in README.org, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 78569a4c0b 015/235: work around a bug in evil-visual-line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter f3f0922b0b 020/235: fixed broken 0.0.6, upgraded to 0.0.7, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 0a33fee751 026/235: (un)comment paragraph, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 3c3fb92e67 029/235: minor typo in README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 2491e83868 030/235: hotkey to comment region,
ELPA Syncer <=
- [nongnu] elpa/evil-nerd-commenter f8de9b168d 058/235: clean code a bit, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter ccb31ba534 061/235: finalize doc v1.2.7, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 1848bc36a1 077/235: comment to the line is optimized v1.4.0, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 487e1cdf2b 098/235: fixed: upgrade from melpa may fail v1.5.6, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 7c75a0e782 050/235: fixed: initialize error when set up hotkeys, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter b48da5411b 111/235: README updated, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 789a180160 100/235: FIXED: revert work on with-eval-after-load v1.5.8, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 7a1647cf6d 114/235: donot use comma as default hotkey, v 1.5.14, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 770981cffd 130/235: can comment/uncomment mixed code in web-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 8e126cda3d 133/235: workaround haml-mode comment issue, ELPA Syncer, 2022/01/06