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

[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



reply via email to

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