summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitmodules6
-rw-r--r--init.org21
m---------lib/evil-nerd-commenter0
m---------lib/evil-surround0
4 files changed, 27 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 515dd81..21d05de 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -94,6 +94,12 @@
[submodule "evil-escape"]
path = lib/evil-escape
url = git@github.com:syl20bnr/evil-escape.git
+[submodule "evil-nerd-commenter"]
+ path = lib/evil-nerd-commenter
+ url = git@github.com:redguardtoo/evil-nerd-commenter.git
+[submodule "evil-surround"]
+ path = lib/evil-surround
+ url = git@github.com:emacs-evil/evil-surround.git
[submodule "exec-path-from-shell"]
path = lib/exec-path-from-shell
url = git@github.com:purcell/exec-path-from-shell.git
diff --git a/init.org b/init.org
index ed8bddb..0f1e578 100644
--- a/init.org
+++ b/init.org
@@ -752,6 +752,27 @@ customizing it.
#+end_src
#+begin_src emacs-lisp
+(use-package evil-nerd-commenter
+ :after evil
+ :general
+ (nmap
+ "gc" 'evilnc-comment-operator
+ "gy" 'evilnc-copy-and-comment-lines))
+#+end_src
+
+#+begin_src emacs-lisp
+(use-package evil-surround
+ :after evil
+ :general
+ (omap
+ "s" 'evil-surround-edit
+ "S" 'evil-Surround-edit)
+ (vmap
+ "S" 'evil-surround-region
+ "gS" 'evil-Surround-region))
+#+end_src
+
+#+begin_src emacs-lisp
(amin--leader-keys
"/" '(:ignore t :wk "search")
diff --git a/lib/evil-nerd-commenter b/lib/evil-nerd-commenter
new file mode 160000
+Subproject 275c95c89cc09c7096bd6fd0deabd49f29634f5
diff --git a/lib/evil-surround b/lib/evil-surround
new file mode 160000
+Subproject 63ce01848878ce011eb4fee59c51109dd1e3ddb