branch: elpa/evil-nerd-commenter
commit fe82e6a0ffbd32fc0571ffe6da7de0228ed1c4f7
Author: Chen Bin <[email protected]>
Commit: Chen Bin <[email protected]>
README v1.5.2
---
README.org | 16 ++++++++--------
evil-nerd-commenter-pkg.el | 2 +-
evil-nerd-commenter.el | 4 ++--
pkg.sh | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/README.org b/README.org
index ce919f933c..d9881a773c 100644
--- a/README.org
+++ b/README.org
@@ -1,4 +1,4 @@
-* evil-nerd-commenter (v1.5.1)
+* evil-nerd-commenter (v1.5.2)
*This program could be used independently WITHOUT evil-mode!*
@@ -38,7 +38,7 @@ You may add one line of emacs lisp code into ~/.emacs to use
default hot keys,
(evilnc-default-hotkeys)
#+END_SRC
-And *that's ALL*!
+*That's all you need to know* unless you want to modify default key bindings!
The content of evilnc-default-hotkeys is:
#+BEGIN_SRC lisp
@@ -58,11 +58,11 @@ The content of evilnc-default-hotkeys is:
))
#+END_SRC
-As you can see, the default hot key for commenting lines is "M-;" when you
don't use [[http://emacswiki.org/emacs/Evil][evil-mode]].
+As you can see, the default hot key for commenting lines is "M-;", if you
don't use [[http://emacswiki.org/emacs/Evil][evil-mode]].
-You can set mark on the first line, scroll down, and comment *all the lines*
instead of selected region by "M-;".
+You can mark at any column of the first line, scroll down, and comment *all
the lines* instead of selected region by "M-;".
-You can copy the content of evilnc-default-hotkeys into .emacs instead calling
it directly.
+You can copy the content of evilnc-default-hotkeys into .emacs instead of
calling it directly, if you don't like the default key binding.
** The hard way
If you don't use emacs package manager please insert below code into your
~/.emacs:
@@ -88,7 +88,7 @@ If you don't use emacs package manager please insert below
code into your ~/.ema
** Use back slash as the leader key in evil-mode
Remove line "(evilnc-default-hotkeys)" from your ~/.emacs and re-assign hot
key manually.
-Besides, by default ",," is used for comment text object. So you need
re-define that hot key. Insert below code into ~/.emacs:
+Besides, ",," is used for commenting text object. So you need re-define that
hot key. Insert below code into ~/.emacs:
#+BEGIN_SRC elisp
(setq evilnc-hotkey-comment-operator "\\")
#+END_SRC
@@ -232,9 +232,9 @@ Insert below code into your ~/.emacs:
Thanks for Andrew Pennebaker (aka mcandre) providing this tip.
** Tip 3, comment code snippet
-Please check my project
[[https://github.com/redguardtoo/evil-matchit][evil-matchit]]. You can press
",si" to select a region between tags and press "M-/" to comment the region.
+Please check my project
[[https://github.com/redguardtoo/evil-matchit][evil-matchit]]. You can press
"vi%" to select a region between tags and press "M-/" to comment the region.
-All the popular programming languages are supported;
+Most popular programming languages are supported;
** Tip 4, use evil-leader if you use the *backslash* as the leader key in
evil-mode
- Install [[https://github.com/cofi/evil-leader][evil-leader according to its
README]].
- Remove line "(evilnc-default-hotkeys)" from your ~/.emacs.
diff --git a/evil-nerd-commenter-pkg.el b/evil-nerd-commenter-pkg.el
index 27a58820ab..ac254f630a 100644
--- a/evil-nerd-commenter-pkg.el
+++ b/evil-nerd-commenter-pkg.el
@@ -1,2 +1,2 @@
-(define-package "evil-nerd-commenter" "1.5.1"
+(define-package "evil-nerd-commenter" "1.5.2"
"Comment/uncomment lines efficiently. Like Nerd Commenter in
Vim")
diff --git a/evil-nerd-commenter.el b/evil-nerd-commenter.el
index ca000d2fc3..f59d8d3703 100644
--- a/evil-nerd-commenter.el
+++ b/evil-nerd-commenter.el
@@ -4,7 +4,7 @@
;; Author: Chen Bin <[email protected]>
;; URL: http://github.com/redguardtoo/evil-nerd-commenter
-;; Version: 1.5.1
+;; Version: 1.5.2
;; Keywords: commenter vim line evil
;;
;; This file is not part of GNU Emacs.
@@ -471,7 +471,7 @@ or 'C-u 3 M-x
evilnc-quick-comment-or-uncomment-to-the-line' to comment to the l
;;;###autoload
(defun evilnc-version ()
(interactive)
- (message "1.5.1"))
+ (message "1.5.2"))
;;;###autoload
(defun evilnc-default-hotkeys ()
diff --git a/pkg.sh b/pkg.sh
index 487c4f4393..995252c22a 100755
--- a/pkg.sh
+++ b/pkg.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-pkg=evil-nerd-commenter-1.5.1
+pkg=evil-nerd-commenter-1.5.2
mkdir $pkg
cp README.org $pkg
cp *.el $pkg