[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-nerd-commenter 6bc41317ba 233/235: doc
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-nerd-commenter 6bc41317ba 233/235: doc |
Date: |
Thu, 6 Jan 2022 02:59:51 -0500 (EST) |
branch: elpa/evil-nerd-commenter
commit 6bc41317ba4b8710d713a62e1b78047c3cc2d2d5
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
doc
---
README.org | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/README.org b/README.org
index 67ca9ed11f..3ca272572e 100644
--- a/README.org
+++ b/README.org
@@ -5,7 +5,7 @@
This program can be used *WITHOUT*
[[https://www.emacswiki.org/emacs/Evil][evil-mode]]!
-A [[http://www.vim.org/scripts/script.php?script_id=1218][Nerd Commenter]]
emulation, help you comment code efficiently. For example, you can press
=99,ci= to comment out 99 lines.
+A [[http://www.vim.org/scripts/script.php?script_id=1218][Nerd Commenter]]
emulation, help you comment code efficiently. For example, you can press
"99,ci" to comment out 99 lines.
I recommend using it with Evil though Evil is optional.
@@ -13,26 +13,24 @@ Tested on Emacs 25, 26, 27, 28
* Why?
** A simple use case on the efficiency
-If you want to comment out nine lines. Instead pressing =C-space M-9 C-n M-;=,
now you can press =M-9 M-;= or =,,9j= or =9,ci=.
+The old way to comment out 9 lines is =C-space M-9 C-n M-;= ("M-;" is the
default key binding of =comment-dwim=.
-The point is that you need *NOT* mark any text to comment line(s)!
-
-So you strike less keys than the original =M-x comment-dwim=.
+With this package's help, you can press "M-9 M-;" or ",,9j" or "9,ci" instead.
It's much faster because you donot need mark any text first!
demo:
[[https://raw.github.com/redguardtoo/evil-nerd-commenter/master/evil-nerd-commenter-demo.gif]]
** It fixes Emacs bug for you
-I'll provide long-term support for *ANY language* in the future. Here is an
example how I work around
[[https://github.com/redguardtoo/evil-nerd-commenter/issues/3][a bug in
autoconf.el]].
+Long-term support is provided for *ANY programming language*. Here is an
example to fix [[https://github.com/redguardtoo/evil-nerd-commenter/issues/3][a
bug in autoconf.el]].
** Perfect integration with org-mode
-The code snippet embedded in org file will automatically be detected and
*correct* comment syntax will be used!
+The code snippet embedded in org file is automatically detected and *correct*
comment syntax will be used!
* Install
-evil-nerd-commenter is already uploaded to [[http://melpa.org]]. The best way
to install is Emacs package manager.
+This package is already uploaded to [[http://melpa.org]]. The best way to
install is Emacs package manager.
* Setup
Please note NO key bindings are setup automatically. You need use following
ways to setup key bindings.
-Please note v3.2.1 is the last version supporting Emacs 24.3.
+Please note v3.2.1 is the last version supporting Emacs 24.3.
** Use recommended key bindings
Insert =(evilnc-default-hotkeys)= into =~/.emacs= to use key bindings preset
for both evil and non-evil mode. This is recommended way.
@@ -76,7 +74,7 @@ Here is the minimum setup,
(add-hook 'matlab-mode-hook 'matlab-mode-hook-config)
#+end_src
* Usage
-** Available commands and hotkeys
+** Commands and hotkeys
Here are available commands which are NOT dependent on
[[http://emacswiki.org/emacs/Evil][evil-mode]]:
*** evilnc-comment-or-uncomment-lines (RECOMMENDED)
Comment/uncomment lines. This command supports negative arguments.
- [nongnu] elpa/evil-nerd-commenter d1a5c9cd63 188/235: org v9.1 changed api to get language of src_block, (continued)
- [nongnu] elpa/evil-nerd-commenter d1a5c9cd63 188/235: org v9.1 changed api to get language of src_block, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter cf1f57921d 175/235: can comment html paragraphs, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter a4ef4ec548 176/235: document on comment paragraph, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 29990d314c 177/235: enable evil text object usage by default, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter a6d492b819 193/235: support inline comment for rust-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 7e48e61207 197/235: Make evilnc-comment-and-copy-operator create only one undo entry, ELPA Syncer, 2022/01/06
- [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 <=
- [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, 2022/01/06
- [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