[emacs] Assimilate (the awesome) expand-region 0.11.0-18-ged32924
authorAmin Bandali <bandali@gnu.org>
Sat, 22 Dec 2018 19:28:01 +0000 (14:28 -0500)
committerAmin Bandali <bandali@gnu.org>
Sat, 22 Dec 2018 19:28:01 +0000 (14:28 -0500)
.gitmodules
init.org
lib/expand-region [new submodule]

index b484d5a..0d78b1b 100644 (file)
@@ -83,6 +83,9 @@
 [submodule "exec-path-from-shell"]
        path = lib/exec-path-from-shell
        url = git@github.com:purcell/exec-path-from-shell.git
+[submodule "expand-region"]
+       path = lib/expand-region
+       url = git@github.com:magnars/expand-region.el.git
 [submodule "f"]
        path = lib/f
        url = git@github.com:rejeep/f.el.git
index 7f66c99..3ae9946 100644 (file)
--- a/init.org
+++ b/init.org
@@ -911,8 +911,9 @@ There's no way I could top that, so I won't attempt to.
 
 #+begin_src emacs-lisp
 (use-package swiper
-  :bind (("C-s" . swiper)
-         ("C-r" . swiper)))
+  :bind (("C-s"   . swiper)
+         ("C-r"   . swiper)
+         ("C-S-s" . isearch-forward)))
 #+end_src
 
 **** Counsel
@@ -1989,6 +1990,13 @@ Hopefully temporary.
   (global-page-break-lines-mode))
 #+end_src
 
+** expand-region
+
+#+begin_src emacs-lisp
+(use-package expand-region
+  :bind ("C-=" . er/expand-region))
+#+end_src
+
 * Email
 
 #+begin_src emacs-lisp
diff --git a/lib/expand-region b/lib/expand-region
new file mode 160000 (submodule)
index 0000000..ed32924
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit ed3292473035dc8f3d2f321e82974ef87327808f