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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-nerd-commenter 3ab19bfa4e 052/235: updated README


From: ELPA Syncer
Subject: [nongnu] elpa/evil-nerd-commenter 3ab19bfa4e 052/235: updated README
Date: Thu, 6 Jan 2022 02:59:34 -0500 (EST)

branch: elpa/evil-nerd-commenter
commit 3ab19bfa4e4e0c9f7f8a1b15cdf6a10e4ade1bdb
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>

    updated README
---
 README.org | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index 650cc62d2c..484c947d56 100644
--- a/README.org
+++ b/README.org
@@ -62,7 +62,7 @@ I prefer vi key binds. So I also use 
[[http://emacswiki.org/emacs/Evil][evil-mod
 Feel free to copy the content of evilnc-default-hotkeys into your .emacs 
instead calling it directly. So you can define your own hotkeys.
 
 * Usage
-Here are available commands:
+Here are available commands. They are not dependent on 
[[http://emacswiki.org/emacs/Evil][evil-mode]]:
 - evilnc-comment-or-uncomment-lines :: comment/uncomment lines.
 - evilnc-comment-or-uncomment-to-the-line :: comment/uncomment from current 
line to the specified line.
 - evilnc-copy-and-comment-lines :: copy and paste lines, then comment out 
original lines
@@ -92,11 +92,19 @@ var myJson={
 #+END_SRC
 
 * Evil Usage
-If you use [[http://emacswiki.org/emacs/Evil][evil-mode]], you get an operator 
that works with all the usual 
[[http://vimdoc.sourceforge.net/htmldoc/motion.html#text-objects][text objects 
and motions]]:
+If you use [[http://emacswiki.org/emacs/Evil][evil-mode]], you get an operator 
that works with all the usual 
[[http://vimdoc.sourceforge.net/htmldoc/motion.html#text-objects][text objects 
and motions]].
 
-- evilnc-comment-operator :: acts much like the delete/change operator.  Takes 
a motion or text object and comments it out, yanking its content in the 
process.  
+Please note all the features listed here are dependent on 
[[http://emacswiki.org/emacs/Evil][evil-mode]]. So if you want to use these 
features you need install evil.
+
+- evilnc-hotkey-comment-operator :: acts much like the delete/change operator. 
 Takes a motion or text object and comments it out, yanking its content in the 
process.  
+
+By default we assign the hot key ",," to evilnc-hotkey-comment-operator.
+
+Here is sample elisp code:
+#+BEGIN_SRC elisp
+(setq evilnc-hotkey-comment-operator ",,")
+#+END_SRC
 
-By default we assign the hot key ",," to evilnc-comment-operator.
 
 Example 1: ",,," to comment out the current line.
 



reply via email to

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