[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil-nerd-commenter 336ce1ab67 083/235: readme on using ev
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil-nerd-commenter 336ce1ab67 083/235: readme on using evil-leader |
Date: |
Thu, 6 Jan 2022 02:59:37 -0500 (EST) |
branch: elpa/evil-nerd-commenter
commit 336ce1ab673249bf9cb504635e2e85bfa2aeea9c
Author: Chen Bin <chenbin.sh@gmail.com>
Commit: Chen Bin <chenbin.sh@gmail.com>
readme on using evil-leader
---
README.org | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/README.org b/README.org
index 56051ce9bb..be1c05f172 100644
--- a/README.org
+++ b/README.org
@@ -228,6 +228,29 @@ Thanks for Andrew Pennebaker (aka mcandre) providing this
tip.
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.
All the popular programming languages are supported;
+** Tip 4, use evil-leader if you prefer the "\" as the leader character in
evil-mode
+- Install [[https://github.com/cofi/evil-leader][evil-leader according to its
README]].
+- Remove line "(evilnc-default-hotkeys)" from your ~/.emacs.
+- Insert below code into you ~/.emacs,
+#+BEGIN_SRC elisp
+(global-set-key (kbd "M-;") 'evilnc-comment-or-uncomment-lines)
+(global-set-key (kbd "C-c l") 'evilnc-quick-comment-or-uncomment-to-the-line)
+(global-set-key (kbd "C-c c") 'evilnc-copy-and-comment-lines)
+(global-set-key (kbd "C-c p") 'evilnc-comment-or-uncomment-paragraphs)
+
+(require 'evil-leader)
+(global-evil-leader-mode)
+(evil-leader/set-key
+ "ci" 'evilnc-comment-or-uncomment-lines
+ "cl" 'evilnc-quick-comment-or-uncomment-to-the-line
+ "ll" 'evilnc-quick-comment-or-uncomment-to-the-line
+ "cc" 'evilnc-copy-and-comment-lines
+ "cp" 'evilnc-comment-or-uncomment-paragraphs
+ "cr" 'comment-or-uncomment-region
+ "cv" 'evilnc-toggle-invert-comment-line-by-line
+ )
+#+END_SRC
+
* Contact me
You can report bugs at [[https://github.com/redguardtoo/evil-nerd-commenter]].
- [nongnu] elpa/evil-nerd-commenter 9f15aec3ce 056/235: support negative argument v1.2.6, (continued)
- [nongnu] elpa/evil-nerd-commenter 9f15aec3ce 056/235: support negative argument v1.2.6, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 2ac5d14f34 060/235: Merge pull request #21 from mswift42/master, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter cc31b0a602 059/235: Fixed type in save-excursion., ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter adb8ba60de 062/235: minor wording update, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 9450c91c71 063/235: Bufgix in evilnc--in-comment-p, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter d03db1baef 066/235: update doc on comment style, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 277ea53931 067/235: Fixed uncommenting line "spilling" to next line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 5f09387d60 069/235: doc updated v1.2.9, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter c156331ed2 075/235: better comment to the line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter a5ec49a54e 079/235: ad for evil-matchit, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 336ce1ab67 083/235: readme on using evil-leader,
ELPA Syncer <=
- [nongnu] elpa/evil-nerd-commenter 7ec8564adc 082/235: optimize code a little bit, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 1cff8e027d 084/235: updated README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 20a242a085 087/235: tweak README, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 10dd7f8f1d 090/235: Merge branch 'tuhdo-master', ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter c2d8cd947e 089/235: remove some interacitve hint and fixed some bug, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter b9e34fe377 088/235: Prompt user for input and fix evilnc-kill-to-line, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter f9bdfa9a70 096/235: sample setup for evil-leader users v1.5.5, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter 23e4d4d1e1 097/235: updated doc, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter a88146b600 099/235: fixed: minor bug comment to the line v1.5.7, ELPA Syncer, 2022/01/06
- [nongnu] elpa/evil-nerd-commenter dfdaae43e9 106/235: Don't byte-compile the evil bits, ELPA Syncer, 2022/01/06