[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-nerd-commenter 8a3b13ed0b 018/235: updated README
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-nerd-commenter 8a3b13ed0b 018/235: updated README |
Date: |
Thu, 6 Jan 2022 02:59:31 -0500 (EST) |
branch: elpa/evil-nerd-commenter
commit 8a3b13ed0bea48ae957fdd15a4e3389b50779732
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
updated README
---
README.org | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index a64e9116d2..4c9b5e6389 100644
--- a/README.org
+++ b/README.org
@@ -3,21 +3,19 @@ As a developer, I often need comment/uncomment lines for
debugging or adding som
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 add my own comment related utilities into this plugin, like command to
command *AND* copy lines.
+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 0.0.6.
-Though this program could be used *independently*, I highly recommend you use
it with [[http://gitorious.org/evil][evil]]
-and [[https://github.com/cofi/evil-leader][evil-leader]].
+Though this program could be used *independently*, I highly recommend you use
it with [[http://gitorious.org/evil][evil]] and
[[https://github.com/cofi/evil-leader][evil-leader]].
-Evil and evil-leader make you take advantage of power of Vi to comment lines
in shocking speed.
-For example, you can press key `99,ci` to comment out 99 lines.
+Evil and evil-leader make you take advantage of power of Vi to comment lines
in shocking speed. For example, you can press key `99,ci` to comment out 99
lines.
* Why evil-nerd-commenter is better?
** A simple use case on the efficiency
Say you want to comment out nine lines. Instead pressing "C-space M-9 C-n
M-;", now you can press "M-9 M-;" or ",9ci".
-The key point is you need NOT mark any text to comment line(s)!
+The key point is you need *NOT* mark any text to comment line(s)!
-So you strike less keys to comment code than the original "M-x comment-dwim".
+So you strike less keys than the original "M-x comment-dwim".
** The commenter will ALWAYS work even the official Emacs has some bug
I'll provide long-term support for this plugin for *ANY language* in the
future. Here is a example how I work around
[[https://github.com/redguardtoo/evil-nerd-commenter/issues/3][a bug in
autoconf.el]].
* Install
@@ -27,6 +25,7 @@ Nothing to set up.
You may add below line into ~/.emacs which use hot key "M-;" to toggle comment:
#+BEGIN_SRC lisp
+(require 'evil-nerd-commenter)
(global-set-key (kbd "M-;") 'evilnc-comment-or-uncomment-lines)
(global-set-key (kbd "M-:") 'evilnc-comment-or-uncomment-to-the-line)
(global-set-key (kbd "C-c c") 'evilnc-copy-and-comment-lines)
@@ -65,5 +64,8 @@ If you use [[http://emacswiki.org/emacs/Evil][evil-mode]] and
get the package ev
Example 4:
"C-u 56 M-x evilnc-comment-or-uncomment-to-the-line", comment/uncomment *from
current line* to line 56.
+
+Example 5:
+"C-u 2 M-x evilnc-copy-and-comment-lines", copy 2 lines and paste them below
the original line. Then comment out original lines. The focus will be moved to
the new lines.
* Contact me
You can report bugs at [[https://github.com/redguardtoo/evil-nerd-commenter]].
My email is <chenbin.sh@gmail.com>.
\ No newline at end of file
- [nongnu] elpa/evil-nerd-commenter 16561277ae 200/235: comment html tag in more web templates, (continued)
- [nongnu] elpa/evil-nerd-commenter 16561277ae 200/235: comment html tag in more web templates, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter cc8b254723 216/235: optimize performance, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 2730820b9c 224/235: fixed: evil-copy-and-comment-operator does not copy in visual-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter e32519bc75 231/235: remove travis setup, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 6bc41317ba 233/235: doc, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 2133167e06 232/235: clean code, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 63baf2d1c7 235/235: Merge pull request #124 from rafauke/feature/treat-tsx-as-jsx, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 29513d6c3b 004/235: now can comment to specified line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 1a93b64203 016/235: typo in README.org, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 6e560d6956 024/235: no evil-leader, upgraded to 0.0.9, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 8a3b13ed0b 018/235: updated README,
ELPA Syncer <=
- [nongnu] elpa/evil-nerd-commenter 59586d7e0b 027/235: updated doc on comment paragraphs, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter d279beb83d 035/235: Updated description, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter c9d325bb3f 037/235: Moved operator to evil section, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 223d99372d 039/235: Added check for comment operator being bound, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 229ed115d2 041/235: Streamlined evil section, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter c05e0ff2a4 045/235: Added "comment to line" evil example, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 96093a934d 049/235: fixed: eval-expression hotkey occupied, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter dcaf985835 051/235: fixed: v1.2.2 and v1.2.1 cannot be installed, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter da42daecb7 055/235: new: copy and kill to specific line for non-evil users, v 1.2.5, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 9f15aec3ce 056/235: support negative argument v1.2.6, ELPA Syncer, 2022/01/06